v3.1.0 #317

Merged
Vylpes merged 76 commits from develop into main 2023-07-08 13:30:22 +01:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit d4716e69d5 - Show all commits

View file

@ -1,10 +1,10 @@
#! /bin/bash
source "$HOME/.ssh/environment"
export PATH="$HOME/.yarn/bin:$PATH"
export PATH="$HOME/.nvm/versions/node/v16.17.0/bin/:$PATH"
export BOT_TOKEN=$(cat $HOME/scripts/vylbot/prod_key.txt)
cd ~/apps/vylbot/vylbot_prod \
&& git checkout main \
&& git fetch \
@ -20,4 +20,4 @@ cd ~/apps/vylbot/vylbot_prod \
&& echo "Sleeping for 10 seconds to let database load..." \
&& sleep 10 \
&& yarn run db:up \
&& NODE_ENV=production BOT_TOKEN=$BOT_TOKEN_PROD pm2 start --name vylbot_prod dist/vylbot.js
&& NODE_ENV=production pm2 start --name vylbot_prod dist/vylbot.js

View file

@ -1,10 +1,10 @@
#! /bin/bash
source "$HOME/.ssh/environment"
export PATH="$HOME/.yarn/bin:$PATH"
export PATH="$HOME/.nvm/versions/node/v16.17.0/bin/:$PATH"
export BOT_TOKEN=$(cat $HOME/scripts/vylbot/prod_key.txt)
cd ~/apps/vylbot/vylbot_stage \
&& git checkout develop \
&& git fetch \
@ -20,4 +20,4 @@ cd ~/apps/vylbot/vylbot_stage \
&& echo "Sleeping for 10 seconds to let database load..." \
&& sleep 10 \
&& yarn run db:up \
&& NODE_ENV=production BOT_TOKEN=$BOT_TOKEN_STAGE pm2 start --name vylbot_stage dist/vylbot.js
&& NODE_ENV=production pm2 start --name vylbot_stage dist/vylbot.js