Skip to content

Merge pull request #22 from aavegotchi/feat/isBuyNow #39

Merge pull request #22 from aavegotchi/feat/isBuyNow

Merge pull request #22 from aavegotchi/feat/isBuyNow #39

name: Deploy to Hosted Service
on:
push:
branches: main
jobs:
buildAndDeploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 14
- 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 TheGraph Hosted Service
run: |
npx graph deploy --access-token ${{secrets.GRAPH_ACCESS_TOKEN}} aavegotchi/aavegotchi-gbm-baazaar-mumbai subgraph.mumbai.yaml --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/
npx graph deploy --access-token ${{secrets.GRAPH_ACCESS_TOKEN}} aavegotchi/aavegotchi-gbm-baazaar-matic subgraph.yaml --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/
shell: bash