From 271858dc9a7606cde4d76f122012580ac105bd50 Mon Sep 17 00:00:00 2001 From: jaybuidl Date: Thu, 4 Jan 2024 01:47:09 +0100 Subject: [PATCH] fix: debug --- .github/workflows/deploy-subgraph.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-subgraph.yml b/.github/workflows/deploy-subgraph.yml index af459bb51..4b32f972b 100644 --- a/.github/workflows/deploy-subgraph.yml +++ b/.github/workflows/deploy-subgraph.yml @@ -40,8 +40,8 @@ jobs: egress-policy: audit - name: Validate Network environment variable - if: ${{!startsWith(env.NETWORK, 'arbitrum')}} - run: echo ${{env.NETWORK}} && exit 1 + if: ${{!startsWith(vars.NETWORK, 'arbitrum')}} + run: echo ${{vars.NETWORK}} && exit 1 - name: Checkout code uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 @@ -70,7 +70,7 @@ jobs: if: ${{ inputs.update }} run: | export PATH=$PWD/../bin:$PATH - yarn update:${{ inputs.subgraph }}:${{ env.NETWORK }} + yarn update:${{ inputs.subgraph }}:${{ vars.NETWORK }} working-directory: subgraph - name: Build the subgraph @@ -84,5 +84,5 @@ jobs: working-directory: subgraph - name: Deploy the subgraph - run: yarn deploy:${{ inputs.subgraph }}:${{ env.NETWORK }} + run: yarn deploy:${{ inputs.subgraph }}:${{ vars.NETWORK }} working-directory: subgraph