File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 88 - ' .github/workflows/release-plz.yml'
99 - ' .github/workflows/bevy_api_gen.yml'
1010 - ' .github/workflows/macro_tests.yml'
11+ - ' docs/**'
1112
1213
1314name : Check and Lint - bevy_mod_scripting
Original file line number Diff line number Diff line change 1+ name : Deploy mdBook to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - " **"
7+ paths :
8+ - ' docs/**'
9+
10+ jobs :
11+
12+ build :
13+ name : Build Book - mdbook
14+ runs-on : ubuntu-latest
15+ env :
16+ working-directory : docs/src
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v4
20+
21+ - uses : actions-rs/toolchain@v1
22+ with :
23+ toolchain : stable
24+ components : mdbook
25+ override : true
26+
27+ - name : Build the book
28+ run : mdbook build
29+
30+ - name : Deploy to GitHub Pages
31+ if : github.ref == 'refs/heads/main'
32+ uses : peaceiris/actions-gh-pages@v3
33+ with :
34+ github_token : ${{ secrets.GITHUB_TOKEN }}
35+ publish_dir : book
You can’t perform that action at this time.
0 commit comments