Skip to content

Commit

Permalink
use direct auth
Browse files Browse the repository at this point in the history
  • Loading branch information
NanezX committed Dec 20, 2023
1 parent ce163b5 commit 4780769
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ jobs:

- uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Debugging
run: |
echo "THE_GRAPH_API_TOKEN: $THE_GRAPH_API_TOKEN"
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
Expand All @@ -119,11 +115,11 @@ jobs:
working-directory: ./subgraph
run: nix run .#init-setup

- name: Graph Authentication
run: npx graph auth --product hosted-service $THE_GRAPH_API_TOKEN

- name: Deploy subgraph mumbai
working-directory: ./subgraph
run: |
nix run .#rain_cli 'subgraph build --network mumbai --address 0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24 --block 43347207'
nix run .#rain_cli \
--argstr token_access "$THE_GRAPH_API_TOKEN" \
--subgraph deploy --subgraph-name rainlanguage/interpreter-registry-npe2 --token-access $token_access
# nix run .#rain_cli "subgraph deploy --subgraph-name rainlanguage/interpreter-registry-npe2 --token-access $THE_GRAPH_API_TOKEN"
nix run .#rain_cli 'subgraph deploy --subgraph-name rainlanguage/interpreter-registry-npe2'

0 comments on commit 4780769

Please sign in to comment.