From 8291174170d7475055c731c5a90af32eb2f636c8 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Wed, 17 May 2023 18:39:50 +0100 Subject: [PATCH] Update deploy scripts --- .stage.env | 24 ++++++++++++++++++++++++ scripts/deploy_prod.sh | 1 - scripts/deploy_stage.sh | 1 - 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .stage.env diff --git a/.stage.env b/.stage.env new file mode 100644 index 0000000..383569a --- /dev/null +++ b/.stage.env @@ -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 \ No newline at end of file diff --git a/scripts/deploy_prod.sh b/scripts/deploy_prod.sh index d9d5296..7adef0a 100644 --- a/scripts/deploy_prod.sh +++ b/scripts/deploy_prod.sh @@ -13,7 +13,6 @@ cd ~/apps/vylbot/vylbot_prod \ && (pm2 stop vylbot_prod || true) \ && (pm2 delete vylbot_prod || true) \ && cp .prod.env .env \ -&& cp ormconfig.prod.json ormconfig.json \ && yarn clean \ && yarn install --frozen-lockfile \ && yarn build \ diff --git a/scripts/deploy_stage.sh b/scripts/deploy_stage.sh index a6c8c92..d12a421 100644 --- a/scripts/deploy_stage.sh +++ b/scripts/deploy_stage.sh @@ -13,7 +13,6 @@ cd ~/apps/vylbot/vylbot_stage \ && (pm2 stop vylbot_stage || true) \ && (pm2 delete vylbot_stage || true) \ && cp .stage.env .env \ -&& cp ormconfig.stage.json ormconfig.json \ && yarn clean \ && yarn install --frozen-lockfile \ && yarn build \