KJDSKJDSKJ
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m41s

This commit is contained in:
2026-03-11 19:53:47 +01:00
parent 9e1451c70a
commit 9aaa5557ef

View File

@@ -44,7 +44,7 @@ jobs:
- name: Deploy to server - name: Deploy to server
run: | run: |
scp build.tar.gz deploy@${{ secrets.DEPLOY_HOST }}:/tmp/ scp build.tar.gz deploy@${{ secrets.DEPLOY_HOST }}:/tmp/
ssh deploy@{{ secrets.DEPLOY_HOST }} << 'EOF' ssh deploy@${{ secrets.DEPLOY_HOST }} << 'EOF'
rm -rf /var/www/app/.output rm -rf /var/www/app/.output
tar -xzf /tmp/build.tar.gz -C /var/www/app tar -xzf /tmp/build.tar.gz -C /var/www/app
sudo systemctl restart app sudo systemctl restart app