Skip to content

Commit

Permalink
ci: enable rustdoc's publishing to the gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed Dec 16, 2022
1 parent 3da2953 commit fa896f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docs
on:
push:
branches:
- master
- main
paths:
- "**.rs"
- "Cargo.toml"
Expand Down Expand Up @@ -37,4 +37,6 @@ jobs:
uses: peaceiris/actions-gh-pages@de7ea6f8efb354206b205ef54722213d99067935 # pin@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true

0 comments on commit fa896f0

Please sign in to comment.