about summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-03-04 18:08:47 +0100
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-03-04 18:09:10 +0100
commite5aed5c593c64336cd53ca0ddfcff59009cae534 (patch)
tree7b86d3d9a4df5c3875a16e7adf7e49bfecef0d75 /.github/workflows
parent1e305b89ed0ee195f9c8e6229140dfe7b4ce6d19 (diff)
downloadrust-e5aed5c593c64336cd53ca0ddfcff59009cae534.tar.gz
rust-e5aed5c593c64336cd53ca0ddfcff59009cae534.zip
Update rustdoc action
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/rustdoc.yaml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml
index 338a4b2abd2..1f4a3cfd3c5 100644
--- a/.github/workflows/rustdoc.yaml
+++ b/.github/workflows/rustdoc.yaml
@@ -27,10 +27,8 @@ jobs:
       run: cargo doc --all --no-deps
 
     - name: Deploy Docs
-      uses: peaceiris/actions-gh-pages@v2.6.0-rc0
-      env:
-        ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
-        PUBLISH_BRANCH: gh-pages
-        PUBLISH_DIR: ./target/doc
-      with:
-        forceOrphan: true
+      uses: peaceiris/actions-gh-pages@364c31d33bb99327c77b3a5438a83a357a6729ad # v3.4.0
+        github_token: ${{ secrets.GITHUB_TOKEN }}
+        publish_branch: gh-pages
+        publish_dir: ./book
+        force_orphan: true