Deploy to Satsuma Service #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Satsuma Service | |
on: | |
push: | |
tags: | |
- "test-*" | |
jobs: | |
buildAndDeploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: Install Yarn | |
run: npm i -g yarn | |
- name: Install Libs | |
run: yarn --frozen-lockfile | |
- name: Codegen | |
run: yarn codegen:testnet | |
- name: Build | |
run: yarn build:testnet | |
- name: Deploy to Satsuma on testnet | |
run: | | |
npx graph deploy aavegotchi-core-amoy \ | |
--deploy-key ${{secrets.SATSUMA_ACCESS_TOKEN}} \ | |
--node https://subgraphs.alchemy.com/api/subgraphs/deploy \ | |
--ipfs https://ipfs.satsuma.xyz \ | |
--version-label ${GITHUB_REF#refs/*/} \ | |
subgraph.testnet.yaml | |
shell: bash |