diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f29a1dc1..039be6da 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,13 +1,13 @@ --- name: publish on: - pull_request: - types: [closed] - branches: [main] + push: + branches: + - main + paths: + - version.toml jobs: publish: - # only publish when the PR is a version bump PR and the pr is merged to main - if: github.event.pull_request.title == 'admin/version-bump' && github.event.pull_request.merged == true runs-on: ubuntu-latest environment: release permissions: