File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 11name : CI
2-
32on :
43 push :
54 branches : [ main ]
65 pull_request :
76 branches : [ main ]
87
8+ permissions :
9+ contents : write
10+
911jobs :
1012 build :
1113 name : Build, Test and Deploy
1214 runs-on : ubuntu-latest
1315 steps :
14- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4 # Update to v4
1517 - uses : actions-rs/toolchain@v1
1618 with :
1719 toolchain : stable
2022 mkdir bin
2123 curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
2224 echo "$(pwd)/bin" >> $GITHUB_PATH
23- # - name: Install mdbook-toc
24- # run: cargo install mdbook-toc
25- # - name: Install mdbook-mermaid
26- # run: cargo install mdbook-mermaid
27- - run : mdbook build # In case of custom book path: mdbook build path/to/mybook && mdbook test path/to/mybook
28- - uses : JamesIves/github-pages-deploy-action@4.1.7
25+ - run : mdbook build
26+ - name : Deploy 🚀
27+ uses : JamesIves/github-pages-deploy-action@v4 # Update to v4
2928 with :
30- branch : main # The branch the action should deploy to.
31- folder : book # The folder the action should deploy.
29+ folder : book # The folder the action should deploy
You can’t perform that action at this time.
0 commit comments