We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d01c870 commit 24e50bdCopy full SHA for 24e50bd
.github/workflows/docs.yml
@@ -2,8 +2,9 @@ name: Docs
2
3
on:
4
pull_request:
5
- release:
6
- types: [published]
+ push:
+ tags:
7
+ - '**'
8
workflow_dispatch:
9
10
concurrency:
@@ -15,6 +16,8 @@ jobs:
15
16
runs-on: ubuntu-latest
17
steps:
18
- uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 0
21
# must come after checkout
22
- uses: actions/setup-python@v5
23
with:
@@ -27,7 +30,7 @@ jobs:
27
30
path: 'doc/_build/html'
28
31
29
32
deploy:
- if: github.event_name == 'workflow_dispatch' || github.event_name == 'release'
33
+ if: github.event_name == 'workflow_dispatch' || contains(github.event.ref, '/tags/')
34
needs: build
35
# Set permissions to allow deployment to GitHub Pages
36
permissions:
.github/workflows/publish.yml renamed to .github/workflows/release.yml
@@ -1,4 +1,4 @@
1
-name: Publish
+name: Release
push:
0 commit comments