Skip to content

treasury: add votes and tallies #178

treasury: add votes and tallies

treasury: add votes and tallies #178

Workflow file for this run

name: deploy
on:
pull_request:
branches:
- "*"
push:
branches:
- main
jobs:
deploy:
name: "Deploy to Subgraph"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: Install
run: yarn --immutable
- name: Deploy to Arbitrum Goerli
if: github.ref != 'refs/heads/main'
run: yarn deploy:arbitrum-goerli --deploy-key $SUBGRAPH_ACCESS_TOKEN
env:
SUBGRAPH_ACCESS_TOKEN: ${{ secrets.SUBGRAPH_ACCESS_TOKEN }}
- name: Deploy to Arbitrum One
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: yarn deploy:arbitrum-one --deploy-key $SUBGRAPH_ACCESS_TOKEN
env:
SUBGRAPH_ACCESS_TOKEN: ${{ secrets.SUBGRAPH_ACCESS_TOKEN }}