Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): add deploy key from 1password in gh-actions #13451

Merged
merged 2 commits into from Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
4 changes: 2 additions & 2 deletions .github/workflows/production.yml
Expand Up @@ -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
julien51 marked this conversation as resolved.
Show resolved Hide resolved
app-name: unlock-locksmith-production
secrets:
HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}
Expand Down