Skip to content

Commit

Permalink
deploy doc to ghp
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Feb 16, 2024
1 parent 06e50bc commit abf3873
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 119 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy_doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy documentation
on:
push:
branches: [main]

env:
CARGO_TERM_COLOR: always

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo +nightly doc --no-deps
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
force_orphan: true
Loading

0 comments on commit abf3873

Please sign in to comment.