Skip to content

Commit

Permalink
Refactor ci-release pipeline to include master branch pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
bekiroguz committed Sep 23, 2024
1 parent 396925d commit e6cec58
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ jobs:
publish:
name: Publish release
needs: [ci]
# run on 1) tags starting with v, 2) manual trigger
# do not run on pull requests
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch')
# run on 1) tags starting with v, 2) manual trigger, 3) pushes/merges to master
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit e6cec58

Please sign in to comment.