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 208922f commit 4f0016dCopy full SHA for 4f0016d
.github/workflows/contrib.yml
@@ -27,14 +27,23 @@ jobs:
27
echo `pwd`/mdbook >> $GITHUB_PATH
28
- name: Deploy docs
29
run: |
30
+ GENERATE_PY="$(pwd)/ci/generate.py"
31
+
32
cd src/doc/contrib
33
mdbook build
34
35
# Override previous ref to avoid keeping history.
36
git worktree add --orphan -B gh-pages gh-pages
37
git config user.name "Deploy from CI"
38
git config user.email ""
39
cd gh-pages
40
mv ../book contrib
41
git add contrib
42
43
+ # Generate HTML for link redirections.
44
+ python3 "$GENERATE_PY"
45
+ git add *.html
46
+ git add CNAME
47
48
git commit -m "Deploy $GITHUB_SHA to gh-pages"
49
git push origin +gh-pages
0 commit comments