fix: adapt deploy workflow for Docker+NPM stack on VPS
This commit is contained in:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -40,9 +40,4 @@ jobs:
|
||||
rsync -avz --delete \
|
||||
-e "ssh -i ~/.ssh/deploy_key" \
|
||||
./dist/ \
|
||||
${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }}:/var/www/carlospalanca.es/
|
||||
|
||||
- name: Reload nginx
|
||||
run: |
|
||||
ssh -i ~/.ssh/deploy_key ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }} \
|
||||
"nginx -t && sudo systemctl reload nginx"
|
||||
${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }}:/opt/stacks/carlospalanca/html/
|
||||
|
||||
Reference in New Issue
Block a user