File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -132,18 +132,16 @@ jobs:
132132 type : string
133133 hasura-endpoint :
134134 type : string
135- next_api_bearer_token :
136- type : string
137135 steps :
138136 - checkout
139137 - run :
140138 name : Apply migrations
141139 working_directory : hasura
142- command : NEXT_API_BEARER_TOKEN=<< parameters.next_api_bearer_token >> hasura-cli migrate apply --admin-secret << parameters.hasura-admin-secret >> --endpoint << parameters.hasura-endpoint >>
140+ command : hasura-cli migrate apply --admin-secret << parameters.hasura-admin-secret >> --endpoint << parameters.hasura-endpoint >>
143141 - run :
144142 name : Apply metadata
145143 working_directory : hasura
146- command : NEXT_API_BEARER_TOKEN=<< parameters.next_api_bearer_token >> hasura-cli metadata apply --admin-secret << parameters.hasura-admin-secret >> --endpoint << parameters.hasura-endpoint >>
144+ command : hasura-cli metadata apply --admin-secret << parameters.hasura-admin-secret >> --endpoint << parameters.hasura-endpoint >>
147145 deploy :
148146 executor : node
149147 parameters :
@@ -244,7 +242,6 @@ workflows:
244242 name : run-migrations-staging
245243 hasura-admin-secret : $HASURA_ADMIN_SECRET_STAGING
246244 hasura-endpoint : $HASURA_ENDPOINT_STAGING
247- next_api_bearer_token : $NEXT_API_BEARER_TOKEN
248245 requires :
249246 - deploy-hasura-staging
250247 filters : *deploy-staging-filters
@@ -293,7 +290,6 @@ workflows:
293290 name : run-migrations
294291 hasura-admin-secret : $HASURA_ADMIN_SECRET_PROD
295292 hasura-endpoint : $HASURA_ENDPOINT_PROD
296- next_api_bearer_token : $NEXT_API_BEARER_TOKEN
297293 requires :
298294 - deploy-hasura
299295 filters : *deploy-filters
You can’t perform that action at this time.
0 commit comments