From 9d29ba6325faab4b763ec4bbc10fe41367177f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renaud?= Date: Tue, 12 Mar 2024 19:55:59 +0100 Subject: [PATCH] feat(ci): add deploy key from 1password in gh-actions (#13451) * add `SUBGRAPH_STUDIO_DEPLOY_KEY` from op * Update .github/workflows/production.yml --------- Co-authored-by: Julien Genestoux --- .github/workflows/_subgraph.yml | 4 ++-- .github/workflows/production.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_subgraph.yml b/.github/workflows/_subgraph.yml index c94138073c2..e0800fff5cb 100644 --- a/.github/workflows/_subgraph.yml +++ b/.github/workflows/_subgraph.yml @@ -3,7 +3,7 @@ name: Subgraphs deployment on: workflow_call: secrets: - SUBGRAPH_DEPLOY_KEY: + SUBGRAPH_STUDIO_DEPLOY_KEY: required: true jobs: @@ -13,7 +13,7 @@ jobs: env: DOCKER_BUILDKIT: 1 BUILDKIT_PROGRESS: plain - SUBGRAPH_DEPLOY_KEY: ${{ secrets.SUBGRAPH_DEPLOY_KEY }} + SUBGRAPH_STUDIO_DEPLOY_KEY: ${{ secrets.SUBGRAPH_STUDIO_DEPLOY_KEY }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 9d02348893c..46f7043f068 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -10,7 +10,7 @@ jobs: if: ${{ github.repository_owner == 'unlock-protocol' }} uses: ./.github/workflows/_subgraph.yml secrets: - SUBGRAPH_DEPLOY_KEY: ${{ secrets.SUBGRAPH_DEPLOY_KEY }} + SUBGRAPH_STUDIO_DEPLOY_KEY: op://secrets/subgraph/studio-deploy-key deploy-locksmith-production: if: ${{ github.repository_owner == 'unlock-protocol' }}