Skip to content

Revert "feat: on-chain-release-build for docker image (#876)" #448

Revert "feat: on-chain-release-build for docker image (#876)"

Revert "feat: on-chain-release-build for docker image (#876)" #448

Workflow file for this run

name: Rust AutoDoc
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
RUSTFLAGS: "-A warnings"
on:
push:
branches: master
pull_request:
branches: master
jobs:
autodoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rust-src
target: wasm32-unknown-unknown
- name: Install protobuf-compiler
run: |
sudo apt-get install protobuf-compiler
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.4
- name: Build the docs
run: |
cargo doc --all --no-deps
cp -f .maintain/index.html target/doc
- name: Deploy the docs
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc