Undo bash source
This commit is contained in:
parent
344d6c01eb
commit
f7f304d1f4
1 changed files with 1 additions and 3 deletions
|
@ -63,9 +63,7 @@ jobs:
|
||||||
port: ${{ secrets.PROD_SSH_PORT }}
|
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
|
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: |
|
script: |
|
||||||
cd /home/vylpes \
|
cd /home/vylpes/apps/vylbot/vylbot_prod \
|
||||||
&& source .bashrc \
|
|
||||||
&& cd /home/vylpes/apps/vylbot/vylbot_prod \
|
|
||||||
&& docker compose down \
|
&& docker compose down \
|
||||||
&& (pm2 stop vylbot_prod || true) \
|
&& (pm2 stop vylbot_prod || true) \
|
||||||
&& (pm2 delete vylbot_prod || true) \
|
&& (pm2 delete vylbot_prod || true) \
|
||||||
|
|
Loading…
Reference in a new issue