Skip to content

fix: output name

fix: output name #28

Workflow file for this run

name: Deploy subgraph
on:
push:
branches: ["main"]
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
chain: ["arbitrum-one", "avalanche", "bsc", "celo", "fantom", "fuse", "goerli", "mainnet", "matic", "xdai"]
environment:
name: ${{ matrix.chain }}
url: https://thegraph.com/hosted-service/subgraph/requestnetwork/request-payments-${{ matrix.chain }}
steps:
- uses: actions/checkout@v3
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn
- run: yarn subgraph deploy ${{ matrix.chain }}
env:
TOKEN: ${{ secrets.THEGRAPH_TOKEN }}