slimmed and fixed deployment step
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s

This commit is contained in:
2025-06-01 21:26:37 +02:00
parent 1376c3763f
commit f8d5dc42ce
2 changed files with 6 additions and 4 deletions

View File

@@ -39,7 +39,8 @@ jobs:
- name: Deploy with rsync
run: |
rsync -avz --delete -e "ssh -p ${{ secrets.SERVER_PORT }}" \
./public/ ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }}:${{ secrets.DEPLOY_PATH }}
./public ./nginx.conf ./docker-compose.prod.yml \
${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }}:${{ secrets.DEPLOY_PATH }}
- name: Restart Docker container
run: |