Skip to content

Commit

Permalink
Add cd to server path
Browse files Browse the repository at this point in the history
  • Loading branch information
Vylpes committed Jun 12, 2024
1 parent b6287ed commit 7578255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
port: ${{ secrets.SSH_PORT }}
envs: DB_NAME,DB_AUTH_USER,DB_AUTH_PASS,DB_HOST,DB_PORT,DB_ROOT_HOST,DB_SYNC,DB_LOGGING,DB_DATA_LOCATION,EXPRESS_PORT,EXPRESS_PROTOCOL,EXPRESS_SECRET,EMAIL_HOST,EMAIL_PORT,EMAIL_SECURE,EMAIL_FROM_NAME,EMAIL_FROM_ADDRESS,EMAIL_AUTH_ENABLE,EMAIL_AUTH_USER,EMAIL_AUTH_PASS,EMAIL_TLS_REJECT_UNAUTHORISED,EMAIL_TEMPLATE_PASSWORDRESET_RESETLINK,EMAIL_TEMPLATE_VERIFYUSER_VERIFYLINK
script: |
cd ~/app \
cd ${{ secrets.SSH_SERVER_PATH }} \
&& docker compose down \
&& (pm2 stop droplet_stage || true) \
&& (pm2 delete droplet_stage || true) \
Expand Down

0 comments on commit 7578255

Please sign in to comment.