From f8757427669a3211d14f0035dd71413b0f49c92d Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Fri, 4 Mar 2022 16:02:22 -0500 Subject: [PATCH] Fix CD 'Deploy mainnet nodes' job conditional --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c1c94915..5e343d4c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -116,7 +116,7 @@ jobs: needs: build runs-on: ubuntu-latest timeout-minutes: 30 - if: github.event_name == 'push' && github.ref == 'ref/head/main' + if: $${{ github.event_name == 'push' && github.ref_name == 'main' }} steps: - uses: actions/checkout@v2.4.0