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