mirror of
https://github.com/Noratrieb/target-tier-docs-experiment.git
synced 2026-01-14 16:35:09 +01:00
fix
This commit is contained in:
parent
d451457b24
commit
fda57058cd
1 changed files with 7 additions and 2 deletions
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
|
|
@ -9,10 +9,15 @@ jobs:
|
||||||
uses: peaceiris/actions-mdbook@v1
|
uses: peaceiris/actions-mdbook@v1
|
||||||
with:
|
with:
|
||||||
mdbook-version: '0.4.35'
|
mdbook-version: '0.4.35'
|
||||||
- run: mdbook build
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- name: Build docs
|
||||||
|
run: |
|
||||||
|
cargo run
|
||||||
|
- run: |
|
||||||
|
cd target && mdbook build
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./book
|
publish_dir: ./targets/book
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue