Skip to content

Commit 550e29a

Browse files
committed
fix ci
1 parent 8f5fc86 commit 550e29a

File tree

3 files changed

+8
-65
lines changed

3 files changed

+8
-65
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ jobs:
3737
cargo install mdbook-katex --version ^0.5 --locked
3838
3939
- name: Build book
40-
run: |
41-
cd docs
42-
mdbook build
40+
run: mdbook build
41+
42+
- name: Add .nojekyll
43+
run: touch book/.nojekyll
4344

4445
- name: Deploy to GitHub Pages
4546
uses: peaceiris/actions-gh-pages@v3
4647
if: github.ref == 'refs/heads/main'
4748
with:
4849
github_token: ${{ secrets.GITHUB_TOKEN }}
49-
publish_dir: ./docs/book
50-
cname: starkbiter.rs
50+
publish_dir: ./book
5151

.github/workflows/mdbook.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ example_fork/test.json
2626

2727
doctest_cache/
2828
docs/target/*
29+
30+
# mdBook output
31+
book/

0 commit comments

Comments
 (0)