Fix secrets reference and environment
@@ -275,6 +275,7 @@ jobs:
update-default-apollo-studio-graph:
runs-on: ubuntu-latest
needs: [create-graph-schemas, terraform]
+ environment: ${{ env.TF_WORKSPACE }}
strategy:
fail-fast: false
@@ -316,13 +317,14 @@ jobs:
service-name: ${{ matrix.service.name }}
schema-path: ${{ matrix.service.path }}
service-graphql-url: ${{ matrix.service.url }}
- apollo-key: ${{ secrets.TF_VAR_DEFAULT_APOLLO_KEY }}
+ apollo-key: ${{ secrets.DEFAULT_APOLLO_KEY }}
graph: default-python-italia
variant: ${{ env.TF_WORKSPACE }}
update-admin-apollo-studio-graph:
runs-on: ubuntu-latest
needs: [create-graph-schemas, terraform]
+ environment: ${{ env.TF_WORKSPACE }}
strategy:
fail-fast: false
@@ -358,6 +360,6 @@ jobs:
service-name: ${{ matrix.service.name }}
schema-path: ${{ matrix.service.path }}
service-graphql-url: ${{ matrix.service.url }}
- apollo-key: ${{ secrets.TF_VAR_ADMIN_APOLLO_KEY }}
+ apollo-key: ${{ secrets.ADMIN_APOLLO_KEY }}
graph: admin-python-italia
variant: ${{ env.TF_WORKSPACE }}
