mirror of
https://github.com/fluencelabs/aquavm
synced 2025-04-25 15:22:18 +00:00
Fix rustdoc deployment to GitHub Pages (#22)
This commit is contained in:
parent
67f3a88f72
commit
b0d706503a
7
.github/workflows/rustdoc.yml
vendored
7
.github/workflows/rustdoc.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
CARGO_NET_RETRY: 10
|
CARGO_NET_RETRY: 10
|
||||||
RUSTFLAGS: "-D warnings -W unreachable-pub"
|
RUSTFLAGS: ""
|
||||||
RUSTUP_MAX_RETRIES: 10
|
RUSTUP_MAX_RETRIES: 10
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: nightly
|
||||||
profile: minimal
|
profile: minimal
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt, rust-src
|
components: rustfmt, rust-src
|
||||||
@ -31,9 +31,10 @@ jobs:
|
|||||||
run: cargo doc --all --no-deps
|
run: cargo doc --all --no-deps
|
||||||
|
|
||||||
- name: Deploy Docs
|
- name: Deploy Docs
|
||||||
uses: peaceiris/actions-gh-pages@364c31d33bb99327c77b3a5438a83a357a6729ad # v3.4.0
|
uses: peaceiris/actions-gh-pages@v3.7.3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_branch: gh-pages
|
publish_branch: gh-pages
|
||||||
publish_dir: ./target/doc
|
publish_dir: ./target/doc
|
||||||
force_orphan: true
|
force_orphan: true
|
||||||
|
cname: fluence.network
|
||||||
|
Loading…
x
Reference in New Issue
Block a user