Commit 075324a7 authored by Georgi Petkov's avatar Georgi Petkov
Browse files

chore: replacing ENGINE_API_KEY with APOLLO_KEY

parent fc007da0
Pipeline #31324 passed with stages
in 33 seconds
......@@ -5,13 +5,13 @@ register_graphql_production:
- tags
variables:
NODE_ENV: production
ENGINE_API_KEY: ${ENGINE_API_KEY}
APOLLO_KEY: ${APOLLO_KEY}
dependencies:
- build
before_script:
- npm install -g apollo
script:
- apollo service:push --key="${ENGINE_API_KEY}"
- 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}
......@@ -22,13 +22,13 @@ register_graphql_staging:
- master
variables:
NODE_ENV: staging
ENGINE_API_KEY: ${ENGINE_API_KEY}
APOLLO_KEY: ${APOLLO_KEY}
dependencies:
- build
before_script:
- npm install -g apollo
script:
- apollo service:push --key="${ENGINE_API_KEY}"
- 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