summaryrefslogtreecommitdiffstats
path: root/.github/workflows/github-release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/github-release.yml')
-rw-r--r--.github/workflows/github-release.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml
new file mode 100644
index 0000000..e5e40c9
--- /dev/null
+++ b/.github/workflows/github-release.yml
@@ -0,0 +1,14 @@
+name: Github Release Publish
+run-name: "Github Release Publish (tag=${{github.ref_name}})"
+
+on:
+ release:
+ types: [published]
+
+jobs:
+ publish-release:
+ uses: ./.github/workflows/publish-release.yml
+ secrets: inherit # pass all secrets (required to access secrets in a called workflow)
+ with:
+ pypi_target: "pypi.org"
+ repo_release_ref: ${{ github.ref_name }}