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