Skip to content

Commit 319f9cc

Browse files
deploy-subgraph: run the lock-pinned subgraph-shell, not rainix main
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent f992f19 commit 319f9cc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/deploy-subgraph.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ jobs:
3333
restore-prefixes-first-match: nix-${{ runner.os }}-
3434
gc-max-store-size-linux: 1G
3535
# subgraph-deploy builds from the committed subgraph/abis + subgraph/generated,
36-
# so it needs no forge build and runs on the slim subgraph shell.
37-
- run: nix develop github:rainlanguage/rainix#subgraph-shell -c subgraph-deploy
36+
# so it needs no forge build and runs on the slim subgraph shell. The shell
37+
# comes from this repo's flake.lock (the rainix rev it pins), not from
38+
# rainix main, so the step that holds ORMI_DEPLOY_KEY runs reviewed tooling.
39+
- run: nix develop .#subgraph-shell -c subgraph-deploy
3840
env:
3941
# GitHub secret ORMI_DEPLOY_KEY, from Vault secret/infra/rain/ormi (deploy_key).
4042
ORMI_DEPLOY_KEY: ${{ secrets.ORMI_DEPLOY_KEY }}

0 commit comments

Comments
 (0)