diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c25c6c9..6aab3ab 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -5,6 +5,8 @@ on: branches: [main] pull_request: branches: [main] + release: + types: [published] jobs: build: @@ -74,7 +76,7 @@ jobs: publish: needs: test - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + if: github.event_name == 'release' && github.event.action == 'published' runs-on: ubuntu-latest strategy: matrix: