mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 03:37:56 +00:00
5504dc7b2d
* Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.8.0 to 3.9.0. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/068dc23d9710f1ba62e86896f84735d869951305...de7ea6f8efb354206b205ef54722213d99067935) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * match hash with version 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 <85877331+sergejparity@users.noreply.github.com>
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@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
|
|
|
|
- name: Rust versions
|
|
run: rustup show
|
|
|
|
- name: Rust cache
|
|
uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 # v2.0.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
|