Skip to content

Commit

Permalink
Readd docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerthox committed Dec 13, 2023
1 parent f3242a8 commit a0e4f28
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Docs

on:
workflow_dispatch:
release:
types: [released]

jobs:
docs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo doc --workspace --all-features
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
publish_branch: gh-pages
13 changes: 0 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,7 @@ on:
types: [released]

jobs:
docs:
name: Docs
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo doc --workspace --all-features
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
publish_branch: gh-pages
release:
name: Release
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down

0 comments on commit a0e4f28

Please sign in to comment.