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 85272bd commit 2dba63eCopy full SHA for 2dba63e
.github/workflows/build_book.yml
.github/workflows/update_book.yml
@@ -0,0 +1,33 @@
1
+name: Rebuild and deploy book to gh-pages branch
2
+on:
3
+ push:
4
+ branches:
5
+ - production
6
+ paths:
7
+ - 'source/**'
8
+ - 'build_html.sh'
9
+
10
+jobs:
11
+ deploy-book:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: write
15
+ packages: write
16
17
+ steps:
18
+ - name: checkout gh-pages
19
+ uses: actions/checkout@v2
20
+ with:
21
+ ref: 'gh-pages'
22
23
+ - name: remove all pull and diff folders
24
+ run: |
25
+ rm -rf pull* diff*
26
27
+ - name: copy dev website to root directory
28
29
+ yes | cp -rf dev/* .
30
31
+ - name: push the result to gh-pages
32
+ uses: stefanzweifel/git-auto-commit-action@v5
33
0 commit comments