Commit 77bca602 authored by Georgi Petkov's avatar Georgi Petkov
Browse files

chore: using npx -yes in register graphql job

parent 8db33661
Pipeline #31349 passed with stages
in 22 seconds
......@@ -12,7 +12,7 @@ register_graphql_production:
# - npm i -g apollo
# - npm i -g graphql
script:
- npx apollo service:push --key="${APOLLO_KEY}"
- npx -yes apollo service:push --key="${APOLLO_KEY}"
--serviceName="${CI_PROJECT_NAME}" --serviceRevision="${CI_COMMIT_TAG}"
--serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql"
--localSchemaFile=src/schema.gql --tag=${NODE_ENV}
......@@ -31,7 +31,7 @@ register_graphql_staging:
# - npm i -g apollo
# - npm i -g graphql
script:
- npx apollo service:push --key="${APOLLO_KEY}"
- npx -yes apollo service:push --key="${APOLLO_KEY}"
--serviceName="${CI_PROJECT_NAME}"
--serviceRevision="${CI_COMMIT_REF_SLUG}"
--serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment