diff --git a/.forgejo/workflows/production.yml b/.forgejo/workflows/production.yml index ee4281f..4b53d02 100644 --- a/.forgejo/workflows/production.yml +++ b/.forgejo/workflows/production.yml @@ -60,7 +60,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,BOT_ENV,BOT_ADMINS,DATA_DIR,GDRIVESYNC_AUTO,SERVER_PATH,EXPRESS_PORT script: | - cd /home/vylpes/apps/card-drop/card-drop_prod \ + source .sshrc \ + && cd /home/vylpes/apps/card-drop/card-drop_prod \ && docker compose down \ && (pm2 stop card-drop_prod || true) \ && (pm2 delete card-drop_prod || true) \ diff --git a/.forgejo/workflows/stage.yml b/.forgejo/workflows/stage.yml index e6bb999..2bb68c0 100644 --- a/.forgejo/workflows/stage.yml +++ b/.forgejo/workflows/stage.yml @@ -60,7 +60,8 @@ jobs: port: ${{ secrets.STAGE_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,BOT_ENV,BOT_ADMINS,DATA_DIR,GDRIVESYNC_AUTO,SERVER_PATH,EXPRESS_PORT script: | - cd /home/vylpes/apps/card-drop/card-drop_stage \ + source .sshrc \ + && cd /home/vylpes/apps/card-drop/card-drop_stage \ && docker compose down \ && (pm2 stop card-drop_stage || true) \ && (pm2 delete card-drop_stage || true) \