aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/rustdoc.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/rustdoc.yaml')
-rw-r--r--.github/workflows/rustdoc.yaml17
1 files changed, 6 insertions, 11 deletions
diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml
index 66c8887ad..1f4a3cfd3 100644
--- a/.github/workflows/rustdoc.yaml
+++ b/.github/workflows/rustdoc.yaml
@@ -24,16 +24,11 @@ jobs:
24 components: rustfmt, rust-src 24 components: rustfmt, rust-src
25 25
26 - name: Build Documentation 26 - name: Build Documentation
27 uses: actions-rs/cargo@v1 27 run: cargo doc --all --no-deps
28 with:
29 command: doc
30 args: --all --no-deps
31 28
32 - name: Deploy Docs 29 - name: Deploy Docs
33 uses: peaceiris/[email protected] 30 uses: peaceiris/actions-gh-pages@364c31d33bb99327c77b3a5438a83a357a6729ad # v3.4.0
34 env: 31 github_token: ${{ secrets.GITHUB_TOKEN }}
35 ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} 32 publish_branch: gh-pages
36 PUBLISH_BRANCH: gh-pages 33 publish_dir: ./book
37 PUBLISH_DIR: ./target/doc 34 force_orphan: true
38 with:
39 forceOrphan: true