mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-23 02:37:59 +00:00
df9ed24554
* Bump actions/checkout from 3.1.0 to 3.5.1 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.5.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.1.0...83b7061638ee4956cf7545a6f7efe594e5ad0247) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * align version with hash --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sergejs Kostjucenko <sergejs@parity.io>
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
name: Publish Rust Docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
deploy-docs:
|
|
name: Deploy docs
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Install tooling
|
|
run: |
|
|
sudo apt-get install -y protobuf-compiler
|
|
protoc --version
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # v3.5.1
|
|
|
|
- name: Rust versions
|
|
run: rustup show
|
|
|
|
- name: Rust cache
|
|
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
|
|
|
|
- name: Build rustdocs
|
|
run: SKIP_WASM_BUILD=1 cargo doc --all --no-deps
|
|
|
|
- name: Make index.html
|
|
run: echo "<meta http-equiv=refresh content=0;url=cumulus_client_collator/index.html>" > ./target/doc/index.html
|
|
|
|
- name: Deploy documentation
|
|
uses: peaceiris/actions-gh-pages@de7ea6f8efb354206b205ef54722213d99067935 # v3.9.0
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_branch: gh-pages
|
|
publish_dir: ./target/doc
|