From 3ce053eb17bc9d3e11ae9e401c6e64a98db42efc Mon Sep 17 00:00:00 2001 From: psuzn Date: Fri, 22 Sep 2023 14:11:27 +0545 Subject: [PATCH] cd fix --- .github/workflows/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 42f27d3..472e087 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Exit if not on main branch - if: endsWith(github.ref, 'main') == false + if: github.ref != 'refs/heads/main' run: exit -1 - uses: actions/checkout@v3