diff --git a/.circleci/config.yml b/.circleci/config.yml index 1131076a7..868fb3aa4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -84,6 +84,7 @@ jobs: name: Execute migration command: | npm install hasura-cli -g + echo ${HASURA_TEST_SECRET} hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >> hasura metadata apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >> hasura metadata reload --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >> @@ -160,7 +161,7 @@ workflows: branches: only: master - hasura-migrate: - secret: $HASURA_PROD_SECRET + secret: ${HASURA_PROD_SECRET} filters: branches: only: master @@ -169,7 +170,7 @@ workflows: branches: only: test - test-hasura-migrate: - secret: $HASURA_TEST_SECRET1 + secret: ${HASURA_TEST_SECRET} filters: branches: only: test