slimmed and fixed deployment step
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user