Updated CI

This commit is contained in:
Patrick Fic
2022-11-08 10:13:04 -08:00
parent 22d075c89a
commit 8d84ed8e00

View File

@@ -32,9 +32,9 @@ jobs:
name: Execute migration name: Execute migration
command: | command: |
npm install hasura-cli -g npm install hasura-cli -g
hasura migrate apply --endpoint https://db.imex.online/ --admin-secret $HASURA_PROD_SECRET hasura migrate apply --endpoint https://db.imex.online/ --admin-secret ${HASURA_PROD_SECRET}
hasura metadata apply --endpoint https://db.imex.online/ --admin-secret $HASURA_PROD_SECRET hasura metadata apply --endpoint https://db.imex.online/ --admin-secret ${HASURA_PROD_SECRET}
hasura metadata reload --endpoint https://db.imex.online/ --admin-secret $HASURA_PROD_SECRET hasura metadata reload --endpoint https://db.imex.online/ --admin-secret ${HASURA_PROD_SECRET}
app-build: app-build:
docker: docker:
@@ -78,9 +78,9 @@ jobs:
name: Execute migration name: Execute migration
command: | command: |
npm install hasura-cli -g npm install hasura-cli -g
hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret $HASURA_TEST_SECRET hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret ${HASURA_TEST_SECRET}
hasura metadata apply --endpoint https://db.test.bodyshop.app/ --admin-secret $HASURA_TEST_SECRET hasura metadata apply --endpoint https://db.test.bodyshop.app/ --admin-secret ${HASURA_TEST_SECRET}
hasura metadata reload --endpoint https://db.test.bodyshop.app/ --admin-secret $HASURA_TEST_SECRET hasura metadata reload --endpoint https://db.test.bodyshop.app/ --admin-secret ${HASURA_TEST_SECRET}
test-app-build: test-app-build:
docker: docker: