Skip to content

Commit

Permalink
pass in goldsky token more explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparkallas committed Mar 18, 2024
1 parent 8244f88 commit 4203139
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/vs-subgraph-ci-goldsky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ jobs:
run: pnpm exec graph build ${{format('./{0}.subgraph.yaml', matrix.networks)}}
- name: Test
run: pnpm test
- name: Goldsky Auth
run: pnpm exec goldsky login --token ${{secrets.GOLDSKY_API_KEY}}
- name: Get Version
id: get-version
uses: actions/github-script@v4
Expand All @@ -58,6 +56,6 @@ jobs:
const packageJson = JSON.parse(fs.readFileSync('package.json'));
return packageJson.version;
- name: Goldsky Deploy
run: pnpm exec goldsky subgraph deploy ${{format('vesting-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --path ./build
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}}
- name: Goldsky Tag
run: pnpm exec goldsky subgraph tag ${{format('vesting-v1-{0}/{1}', matrix.networks, steps.get-version.outputs.result) }} --tag latest
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}}

0 comments on commit 4203139

Please sign in to comment.