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 \
|
rsync -avz --delete \
|
||||||
-e "ssh -i ~/.ssh/deploy_key" \
|
-e "ssh -i ~/.ssh/deploy_key" \
|
||||||
./dist/ \
|
./dist/ \
|
||||||
${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }}:/var/www/carlospalanca.es/
|
${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }}:/opt/stacks/carlospalanca/html/
|
||||||
|
|
||||||
- name: Reload nginx
|
|
||||||
run: |
|
|
||||||
ssh -i ~/.ssh/deploy_key ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }} \
|
|
||||||
"nginx -t && sudo systemctl reload nginx"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user