diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6bb150f..4866c48 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ permissions: jobs: # from https://github.com/peter-evans/create-pull-request/blob/main/docs/examples.md#keep-a-branch-up-to-date-with-another deploy-staging: - if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/') + if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4