Skip to content

Commit

Permalink
some adaptation
Browse files Browse the repository at this point in the history
  • Loading branch information
levalleux-ludo committed Aug 1, 2024
1 parent 86ee541 commit 8296fca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- id: build
run: npm run build -- --cache-dir=".turbo"
- name: Authenticate The Graph CLI
run: npx graph auth ${{ secrets.ORMI_0x_GRAPH_API_KEY_PRODUCTION }}
run: npx graph auth https://api.0xgraph.xyz/deploy/ ${{ secrets.ORMI_0x_GRAPH_API_KEY_PRODUCTION }}
- name: Deploy subgraph to Polygon
run: cd ./packages/subgraph && npm run deploy:production
- name: Deploy subgraph to Ethereum
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/deploy-staging-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ jobs:
- id: build
run: npm run build -- --cache-dir=".turbo"
- name: Authenticate The Graph CLI
run: npx graph auth --studio ${{ secrets.THE_GRAPH_ACCESS_TOKEN_STAGING }}
run: npx graph auth https://api.0xgraph.xyz/deploy/ ${{ secrets.ORMI_0x_GRAPH_API_KEY_STAGING }}
- name: Deploy subgraph to amoy
run: cd ./packages/subgraph && npm run deploy:staging:amoy
- name: Authenticate The Graph CLI
run: npx graph auth ${{ secrets.ORMI_0x_GRAPH_API_KEY_STAGING }}
- name: Deploy subgraph to sepolia
run: cd ./packages/subgraph && npm run deploy:staging:sepolia
4 changes: 1 addition & 3 deletions .github/workflows/deploy-testing-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ jobs:
- id: build
run: npm run build -- --cache-dir=".turbo"
- name: Authenticate The Graph CLI
run: npx graph auth --studio ${{ secrets.THE_GRAPH_ACCESS_TOKEN_TESTING }}
run: npx graph auth https://api.0xgraph.xyz/deploy/ ${{ secrets.ORMI_0x_GRAPH_API_KEY_TESTING }}
- name: Deploy subgraph to amoy
run: cd ./packages/subgraph && npm run deploy:testing:amoy
- name: Authenticate The Graph CLI
run: npx graph auth ${{ secrets.ORMI_0x_GRAPH_API_KEY_TESTING }}
- name: Deploy subgraph to sepolia
run: cd ./packages/subgraph && npm run deploy:testing:sepolia
4 changes: 3 additions & 1 deletion packages/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"create:local": "graph create --node http://localhost:8020/ boson/corecomponents",
"remove:local": "graph remove --node http://localhost:8020/ boson/corecomponents",
"deploy:local": "npm run manifest:local && npm run create:local && graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 boson/corecomponents -l 0.0.1",
"deploy:testing:amoy": "npm run manifest:testing:amoy && graph deploy --node https://api.0xgraph.xyz/deploy --ipfs https://api.0xgraph.xyz/ipfs -l v0.0.1 boson-testing-amoy",
"deploy:testing:amoy": "run-script-os",
"deploy:testing:amoy:default": "npm run manifest:testing:amoy && graph deploy --node https://api.0xgraph.xyz/deploy --ipfs https://api.0xgraph.xyz/ipfs -l $npm_package_version boson-testing-amoy",
"deploy:testing:amoy:win32": "npm run manifest:testing:amoy && graph deploy --node https://api.0xgraph.xyz/deploy --ipfs https://api.0xgraph.xyz/ipfs -l %npm_package_version% boson-testing-amoy",
"deploy:testing:sepolia": "run-script-os",
"deploy:testing:sepolia:default": "npm run manifest:testing:sepolia && graph deploy --node https://api.0xgraph.xyz/deploy --ipfs https://api.0xgraph.xyz/ipfs -l $npm_package_version boson-testing-sepolia",
"deploy:testing:sepolia:win32": "npm run manifest:testing:sepolia && graph deploy --node https://api.0xgraph.xyz/deploy --ipfs https://api.0xgraph.xyz/ipfs -l %npm_package_version% boson-testing-sepolia",
Expand Down

0 comments on commit 8296fca

Please sign in to comment.