This commit is contained in:
parent
b06fb37453
commit
c0e266e20b
1 changed files with 1 additions and 7 deletions
|
|
@ -34,13 +34,7 @@ jobs:
|
||||||
- name: Auf Server deployen
|
- name: Auf Server deployen
|
||||||
run: |
|
run: |
|
||||||
echo "🚀 Deployment startet..."
|
echo "🚀 Deployment startet..."
|
||||||
echo "Aktueller Benutzer:"
|
ls -al
|
||||||
whoami
|
|
||||||
echo "Gruppen:"
|
|
||||||
groups
|
|
||||||
echo "Verzeichnisrechte:"
|
|
||||||
ls -la /var/www/ || echo "❌ Keine Leseberechtigung für /var/www"
|
|
||||||
cd /var/www/astro-app
|
|
||||||
rm -rf /var/www/astro-app/*
|
rm -rf /var/www/astro-app/*
|
||||||
cp -r dist/* /var/www/astro-app/
|
cp -r dist/* /var/www/astro-app/
|
||||||
restorecon -Rv /var/www/astro-app/
|
restorecon -Rv /var/www/astro-app/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue