diff options
| author | adamjanovsky | 2022-02-01 19:12:36 +0100 |
|---|---|---|
| committer | GitHub | 2022-02-01 19:12:36 +0100 |
| commit | d6412a3147c877b61d9911113052e00bbc6c679a (patch) | |
| tree | a18a597ee496e89c2e48bc84f8e6a9455160d5b4 /.github/workflows | |
| parent | d09820b961836057c73964efe70629c276a2025f (diff) | |
| parent | 8a387fed311204028d1f3875e0777c9f2f71c39f (diff) | |
| download | sec-certs-d6412a3147c877b61d9911113052e00bbc6c679a.tar.gz sec-certs-d6412a3147c877b61d9911113052e00bbc6c679a.tar.zst sec-certs-d6412a3147c877b61d9911113052e00bbc6c679a.zip | |
Merge pull request #165 from crocs-muni:adamjanovsky/fix_release_action
release action only on publishing a release
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc01c352..af4594c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,7 @@ name: Release with GitHub, PyPi, DockerHub -on: release +on: + release: + types: [published] jobs: pypi_release: @@ -22,7 +24,7 @@ jobs: with: user: ${{ secrets.PYPI_USERNAME }} password: ${{ secrets.PYPI_PASSWORD }} - docker: + docker_release: name: Release on dockerhub runs-on: ubuntu-latest if: github.repository == 'crocs-muni/sec-certs' |
