Skip to content

Commit

Permalink
feat(ci): add deploy key from 1password in gh-actions (#13451)
Browse files Browse the repository at this point in the history
* add `SUBGRAPH_STUDIO_DEPLOY_KEY` from op

* Update .github/workflows/production.yml

---------

Co-authored-by: Julien Genestoux <julien.genestoux@gmail.com>
  • Loading branch information
clemsos and julien51 committed Mar 12, 2024
1 parent 8643904 commit 9d29ba6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_subgraph.yml
Expand Up @@ -3,7 +3,7 @@ name: Subgraphs deployment
on:
workflow_call:
secrets:
SUBGRAPH_DEPLOY_KEY:
SUBGRAPH_STUDIO_DEPLOY_KEY:
required: true

jobs:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Expand Up @@ -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' }}
Expand Down

0 comments on commit 9d29ba6

Please sign in to comment.