Update deploy scripts
This commit is contained in:
parent
9ebc8a8991
commit
8291174170
3 changed files with 24 additions and 2 deletions
24
.stage.env
Normal file
24
.stage.env
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Security Warning! Do not commit this file to any VCS!
|
||||||
|
# This is a local file to speed up development process,
|
||||||
|
# so you don't have to change your environment variables.
|
||||||
|
#
|
||||||
|
# This is not applied to `.env.template`!
|
||||||
|
# Template files must be committed to the VCS, but must not contain
|
||||||
|
# any secret values.
|
||||||
|
|
||||||
|
BOT_TOKEN=
|
||||||
|
BOT_VER=3.1
|
||||||
|
BOT_AUTHOR=Vylpes
|
||||||
|
BOT_OWNERID=147392775707426816
|
||||||
|
BOT_CLIENTID=1016767908740857949
|
||||||
|
|
||||||
|
ABOUT_FUNDING=https://ko-fi.com/vylpes
|
||||||
|
ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app
|
||||||
|
|
||||||
|
DB_HOST=127.0.0.1
|
||||||
|
DB_PORT=3111
|
||||||
|
DB_NAME=vylbot
|
||||||
|
DB_AUTH_USER=stage
|
||||||
|
DB_AUTH_PASS=stage
|
||||||
|
DB_SYNC=false
|
||||||
|
DB_LOGGING=false
|
|
@ -13,7 +13,6 @@ cd ~/apps/vylbot/vylbot_prod \
|
||||||
&& (pm2 stop vylbot_prod || true) \
|
&& (pm2 stop vylbot_prod || true) \
|
||||||
&& (pm2 delete vylbot_prod || true) \
|
&& (pm2 delete vylbot_prod || true) \
|
||||||
&& cp .prod.env .env \
|
&& cp .prod.env .env \
|
||||||
&& cp ormconfig.prod.json ormconfig.json \
|
|
||||||
&& yarn clean \
|
&& yarn clean \
|
||||||
&& yarn install --frozen-lockfile \
|
&& yarn install --frozen-lockfile \
|
||||||
&& yarn build \
|
&& yarn build \
|
||||||
|
|
|
@ -13,7 +13,6 @@ cd ~/apps/vylbot/vylbot_stage \
|
||||||
&& (pm2 stop vylbot_stage || true) \
|
&& (pm2 stop vylbot_stage || true) \
|
||||||
&& (pm2 delete vylbot_stage || true) \
|
&& (pm2 delete vylbot_stage || true) \
|
||||||
&& cp .stage.env .env \
|
&& cp .stage.env .env \
|
||||||
&& cp ormconfig.stage.json ormconfig.json \
|
|
||||||
&& yarn clean \
|
&& yarn clean \
|
||||||
&& yarn install --frozen-lockfile \
|
&& yarn install --frozen-lockfile \
|
||||||
&& yarn build \
|
&& yarn build \
|
||||||
|
|
Loading…
Reference in a new issue