diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 7ec5e32..1213ae5 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -126,7 +126,7 @@ jobs: needs: - init - build - if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' + if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main') runs-on: ubuntu-latest permissions: contents: write