diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3deef7..eca728c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: name: Deploy release runs-on: ubuntu-latest needs: [ build ] - if: startsWith(github.ref, 'refs/tags/') + if: github.event_name == 'push' && (github.ref == 'refs/heads/main') steps: - name: Check out files uses: actions/checkout@v3.5.3