From 2e77cbdcd4d194d066080211f1d8fcc18ca3d548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renaud?= Date: Tue, 12 Mar 2024 15:30:20 +0100 Subject: [PATCH 1/2] add `SUBGRAPH_STUDIO_DEPLOY_KEY` from op --- .github/workflows/_subgraph.yml | 4 ++-- .github/workflows/production.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 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..365bf896790 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -10,14 +10,14 @@ 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' }} uses: ./.github/workflows/_heroku.yml with: bypass_diff_check: bypass - service: locksmith + service: locksmith7df5e70995a89872e0ec80de04ca7251 app-name: unlock-locksmith-production secrets: HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }} From 01ef1bcc72a7bc1224339d2e3265bcd7b5282b91 Mon Sep 17 00:00:00 2001 From: Julien Genestoux Date: Tue, 12 Mar 2024 14:51:16 -0400 Subject: [PATCH 2/2] Update .github/workflows/production.yml --- .github/workflows/production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 365bf896790..46f7043f068 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -17,7 +17,7 @@ jobs: uses: ./.github/workflows/_heroku.yml with: bypass_diff_check: bypass - service: locksmith7df5e70995a89872e0ec80de04ca7251 + service: locksmith app-name: unlock-locksmith-production secrets: HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}