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.yaml46
1 files changed, 23 insertions, 23 deletions
diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml
index caa1dcc30..66c8887ad 100644
--- a/.github/workflows/rustdoc.yaml
+++ b/.github/workflows/rustdoc.yaml
@@ -2,7 +2,7 @@ name: rustdoc
2on: 2on:
3 push: 3 push:
4 branches: 4 branches:
5 - master 5 - master
6 6
7jobs: 7jobs:
8 rustdoc: 8 rustdoc:
@@ -12,28 +12,28 @@ jobs:
12 CARGO_INCREMENTAL: 0 12 CARGO_INCREMENTAL: 0
13 13
14 steps: 14 steps:
15 - name: Checkout repository 15 - name: Checkout repository
16 uses: actions/checkout@v1 16 uses: actions/checkout@v1
17 17
18 - name: Install Rust toolchain 18 - name: Install Rust toolchain
19 uses: actions-rs/toolchain@v1 19 uses: actions-rs/toolchain@v1
20 with: 20 with:
21 toolchain: stable 21 toolchain: stable
22 profile: minimal 22 profile: minimal
23 override: true 23 override: true
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 uses: actions-rs/cargo@v1
28 with: 28 with:
29 command: doc 29 command: doc
30 args: --all --no-deps 30 args: --all --no-deps
31 31
32 - name: Deploy Docs 32 - name: Deploy Docs
33 uses: peaceiris/[email protected] 33 uses: peaceiris/[email protected]
34 env: 34 env:
35 ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} 35 ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
36 PUBLISH_BRANCH: gh-pages 36 PUBLISH_BRANCH: gh-pages
37 PUBLISH_DIR: ./target/doc 37 PUBLISH_DIR: ./target/doc
38 with: 38 with:
39 forceOrphan: true 39 forceOrphan: true