fix: init issue #17
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: | |
- "*" | |
jobs: | |
buildAndDeploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
- name: Install Yarn | |
run: npm i -g yarn | |
- name: Install Libs | |
run: yarn --frozen-lockfile | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- name: Deploy to Satsuma | |
run: | | |
npx graph deploy aavegotchi-gbm-baazaar-matic \ | |
--deploy-key ${{secrets.SATSUMA_ACCESS_TOKEN}} \ | |
--node https://subgraphs.alchemy.com/api/subgraphs/deploy \ | |
--ipfs https://ipfs.satsuma.xyz \ | |
--version-label ${GITHUB_REF#refs/*/} | |
shell: bash |