From 9b9c5738434a0280f23cc10074163b37fbf8c4e8 Mon Sep 17 00:00:00 2001 From: mohandast52 Date: Wed, 5 Jun 2024 01:44:14 +0530 Subject: [PATCH] chore: Update IS_STAGING environment variable in release.yml workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0deab94b3..71bf0b5f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,7 +63,7 @@ jobs: env: NODE_ENV: production DEV_RPC: https://rpc-gate.autonolas.tech/gnosis-rpc/ - IS_STAGING: ${{ contains(github.ref, 'staging') }} + IS_STAGING: ${{ github.ref != 'refs/heads/main' && 'true' || 'false' }} FORK_URL: https://rpc-gate.autonolas.tech/gnosis-rpc/ - run: rm -rf /dist - name: "Build, notarize, publish"