We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8971f5b commit e154a47Copy full SHA for e154a47
.github/workflows/v2_on_push_docs.yml
@@ -0,0 +1,35 @@
1
+name: Docs v2
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - v2
7
+ paths:
8
+ - "docs/**"
9
+ - "mkdocs.yml"
10
+ - "examples/**"
11
12
+jobs:
13
+ changelog:
14
+ permissions:
15
+ contents: write
16
+ uses: ./.github/workflows/reusable_publish_changelog.yml
17
18
+ release-docs:
19
+ needs: changelog
20
21
22
+ pages: write
23
+ uses: ./.github/workflows/reusable_publish_docs.yml
24
+ with:
25
+ version: v2
26
+ alias: alpha
27
+# Maintenance: Only necessary in repo migration
28
+# - name: Create redirect from old docs
29
+# run: |
30
+# git checkout gh-pages
31
+# test -f 404.html && echo "Redirect already set" && exit 0
32
+# git checkout develop -- 404.html
33
+# git add 404.html
34
+# git commit -m "chore: set docs redirect" --no-verify
35
+# git push origin gh-pages -f
0 commit comments