Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
makeecat authored Aug 1, 2024
1 parent 6127e64 commit 695d64d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@ jobs:
toolchain: stable
- name: Generate Docs
run: cargo doc --no-deps
- name: Prepare docs for deployment
run: |
mkdir gh-pages
mv target/doc/* gh-pages/
touch gh-pages/.nojekyll
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
publish_dir: ./gh-pages
force_orphan: true

0 comments on commit 695d64d

Please sign in to comment.