We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba30a38 commit 6bf7276Copy full SHA for 6bf7276
.github/workflows/release.yml
@@ -3,6 +3,8 @@ name: Release
3
# TODO: trigger this via Jenkins somehow?
4
5
on:
6
+ push:
7
+ tags: 'v[0-9]+.[0-9]+.[0-9]+*'
8
workflow_dispatch:
9
inputs:
10
publish-docs:
@@ -30,12 +32,12 @@ jobs:
30
32
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
33
with:
34
python-version: 3.11
- deploy-pages: ${{ inputs.publish-docs && !inputs.dry-run }}
35
+ deploy-pages: ${{ github.event_name == 'push' || inputs.publish-docs && !inputs.dry-run }}
36
release: true
37
38
39
needs: build-docs
- if: inputs.publish-docs && !inputs.dry-run
40
+ if: github.event_name == 'push' || inputs.publish-docs && !inputs.dry-run
41
runs-on: ubuntu-latest
42
environment:
43
name: pypi
0 commit comments