aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authoradamjanovsky2022-02-01 19:12:36 +0100
committerGitHub2022-02-01 19:12:36 +0100
commitd6412a3147c877b61d9911113052e00bbc6c679a (patch)
treea18a597ee496e89c2e48bc84f8e6a9455160d5b4 /.github/workflows
parentd09820b961836057c73964efe70629c276a2025f (diff)
parent8a387fed311204028d1f3875e0777c9f2f71c39f (diff)
downloadsec-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.yml6
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'