Source .sshrc
Some checks failed
Deploy To Production / build (push) Successful in 11s
Deploy To Production / deploy (push) Failing after 1s

This commit is contained in:
Ethan Lane 2024-04-28 16:26:46 +01:00
parent 13dd2558f2
commit 00c90aec80

View file

@ -63,7 +63,8 @@ jobs:
port: ${{ secrets.PROD_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,BOT_TOKEN,BOT_VER,BOT_AUTHOR,BOT_OWNERID,BOT_CLIENTID,ABOUT_FUNDING,ABOUT_REPO,CACHE_INTERVAL
script: |
cd /home/vylpes/apps/vylbot/vylbot_prod \
source .sshrc \
&& cd /home/vylpes/apps/vylbot/vylbot_prod \
&& docker compose down \
&& (pm2 stop vylbot_prod || true) \
&& (pm2 delete vylbot_prod || true) \