Compare commits
No commits in common. "ee7504bdf297d53876d2c2e8c824c40db4066a40" and "e4f072655e613718ec6a542f2295dc0a564620f2" have entirely different histories.
ee7504bdf2
...
e4f072655e
5 changed files with 5354 additions and 9994 deletions
|
@ -51,14 +51,14 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- npm ci
|
- yarn install --frozen-lockfile
|
||||||
- npm run build
|
- yarn build
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- npm ci
|
- yarn install --frozen-lockfile
|
||||||
- npm test
|
- yarn test
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|
9982
package-lock.json
generated
9982
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -13,11 +13,11 @@ cd ~/apps/card-drop/card-drop_prod \
|
||||||
&& (pm2 stop card-drop_prod || true) \
|
&& (pm2 stop card-drop_prod || true) \
|
||||||
&& (pm2 delete card-drop_prod || true) \
|
&& (pm2 delete card-drop_prod || true) \
|
||||||
&& cp .prod.env .env \
|
&& cp .prod.env .env \
|
||||||
&& npm run clean \
|
&& yarn clean \
|
||||||
&& npm ci \
|
&& yarn install --frozen-lockfile \
|
||||||
&& npm run build \
|
&& yarn build \
|
||||||
&& docker compose --file docker-compose.prod.yml up -d \
|
&& docker compose --file docker-compose.prod.yml up -d \
|
||||||
&& echo "Sleeping for 10 seconds to let database load..." \
|
&& echo "Sleeping for 10 seconds to let database load..." \
|
||||||
&& sleep 10 \
|
&& sleep 10 \
|
||||||
&& npm run db:up \
|
&& yarn run db:up \
|
||||||
&& NODE_ENV=production pm2 start --name card-drop_prod dist/bot.js
|
&& NODE_ENV=production pm2 start --name card-drop_prod dist/bot.js
|
|
@ -13,11 +13,11 @@ cd ~/apps/card-drop/card-drop_stage \
|
||||||
&& (pm2 stop card-drop_stage || true) \
|
&& (pm2 stop card-drop_stage || true) \
|
||||||
&& (pm2 delete card-drop_stage || true) \
|
&& (pm2 delete card-drop_stage || true) \
|
||||||
&& cp .stage.env .env \
|
&& cp .stage.env .env \
|
||||||
&& npm run clean \
|
&& yarn clean \
|
||||||
&& npm ci \
|
&& yarn install --frozen-lockfile \
|
||||||
&& npm run build \
|
&& yarn build \
|
||||||
&& docker compose --file docker-compose.stage.yml up -d \
|
&& docker compose --file docker-compose.stage.yml up -d \
|
||||||
&& echo "Sleeping for 10 seconds to let database load..." \
|
&& echo "Sleeping for 10 seconds to let database load..." \
|
||||||
&& sleep 10 \
|
&& sleep 10 \
|
||||||
&& npm run db:up \
|
&& yarn run db:up \
|
||||||
&& NODE_ENV=production pm2 start --name card-drop_stage dist/bot.js
|
&& NODE_ENV=production pm2 start --name card-drop_stage dist/bot.js
|
Loading…
Reference in a new issue