We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 569d91f commit 7b5deffCopy full SHA for 7b5deff
2 files changed
.github/workflows/book.yml
@@ -0,0 +1,23 @@
1
+name: ci-push
2
+on:
3
+ push:
4
+ branches-ignore:
5
+ - staging
6
+jobs:
7
+ build-book:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ with:
12
+ fetch-depth: 0
13
+ - name: init
14
+ run: |
15
+ url="https://github.com/rust-lang/mdBook/releases/download/v0.4.47/mdbook-v0.4.47-x86_64-unknown-linux-gnu.tar.gz"
16
+ mkdir mdbook
17
+ curl -sSL $url | tar -xz --directory=./mdbook
18
+ echo `pwd`/mdbook >> $GITHUB_PATH
19
+ - name: build
20
21
+ cd guide
22
+ cmake -P build.cmake || exit 1
23
+ ls book
.github/workflows/deploy.yml
@@ -24,7 +24,7 @@ jobs:
24
- name: build book
25
run: |
26
cd guide
27
- cmake -P build.cmake
28
ls book
29
- name: setup pages
30
uses: actions/configure-pages@v4
0 commit comments