Skip to content

Commit

Permalink
Merge pull request #9 from superfluid-finance/goldsky-login
Browse files Browse the repository at this point in the history
explicitly login to goldsky
  • Loading branch information
kasparkallas authored Apr 30, 2024
2 parents 4175442 + 13cc641 commit 56e7049
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/aw-subgraph-ci-goldsky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:
const fs = require('fs');
const packageJson = JSON.parse(fs.readFileSync('package.json'));
return packageJson.version;
- name: Goldsky Login
run: pnpm exec goldsky login --token ${{secrets.GOLDSKY_API_KEY}}
- name: Goldsky Deploy
run: pnpm exec goldsky subgraph deploy ${{format('auto-wrap-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --path ./build --token ${{secrets.GOLDSKY_API_KEY}}
run: pnpm exec goldsky subgraph deploy ${{format('auto-wrap-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --path ./build
- name: Goldsky Tag
run: pnpm exec goldsky subgraph tag ${{format('auto-wrap-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --tag latest --token ${{secrets.GOLDSKY_API_KEY}}
run: pnpm exec goldsky subgraph tag ${{format('auto-wrap-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --tag latest
6 changes: 4 additions & 2 deletions .github/workflows/fs-subgraph-ci-goldsky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:
const fs = require('fs');
const packageJson = JSON.parse(fs.readFileSync('package.json'));
return packageJson.version;
- name: Goldsky Login
run: pnpm exec goldsky login --token ${{secrets.GOLDSKY_API_KEY}}
- name: Goldsky Deploy
run: pnpm exec goldsky subgraph deploy ${{format('scheduling-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --path ./build --token ${{secrets.GOLDSKY_API_KEY}}
run: pnpm exec goldsky subgraph deploy ${{format('scheduling-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --path ./build
- name: Goldsky Tag
run: pnpm exec goldsky subgraph tag ${{format('scheduling-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --tag latest --token ${{secrets.GOLDSKY_API_KEY}}
run: pnpm exec goldsky subgraph tag ${{format('scheduling-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --tag latest
6 changes: 4 additions & 2 deletions .github/workflows/vs-subgraph-ci-goldsky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:
const fs = require('fs');
const packageJson = JSON.parse(fs.readFileSync('package.json'));
return packageJson.version;
- name: Goldsky Login
run: pnpm exec goldsky login --token ${{secrets.GOLDSKY_API_KEY}}
- name: Goldsky Deploy
run: pnpm exec goldsky subgraph deploy ${{format('vesting-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --path ./build --token ${{secrets.GOLDSKY_API_KEY}}
run: pnpm exec goldsky subgraph deploy ${{format('vesting-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --path ./build
- name: Goldsky Tag
run: pnpm exec goldsky subgraph tag ${{format('vesting-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --tag latest --token ${{secrets.GOLDSKY_API_KEY}}
run: pnpm exec goldsky subgraph tag ${{format('vesting-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --tag latest

0 comments on commit 56e7049

Please sign in to comment.