Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Publish book
Browse files Browse the repository at this point in the history
  • Loading branch information
leolara committed Nov 18, 2023
1 parent 1948254 commit 34e1716
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/api_rust_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,24 @@ jobs:
mkdir -p ./target/doc
echo '<meta http-equiv="refresh" content="0; url=chiquito">' > ./target/doc/index.html
- name: Build book
run: pip install jupyter-book && make book

- name: Add CNAME file to docs root
run: |
mkdir -p ./target/doc
echo 'apidocs.pecadorplonkish.xyz' > ./target/doc/CNAME
- name: Deploy to GitHub Pages
- name: Deploy book
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/_build/html
destination_dir: ./docs

- name: Deploy Api docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
destination_dir: ./docs
destination_dir: ./docs/apidocs

0 comments on commit 34e1716

Please sign in to comment.