Add new protocol and native support for Ordering (#591) #575
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Site | |
on: | |
workflow_dispatch: {} | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: wasm32-unknown-unknown | |
- uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: latest | |
- run: npm install | |
working-directory: crates/rune-wasm | |
- run: npm run build | |
working-directory: crates/rune-wasm | |
- run: cargo run --manifest-path tools/site/Cargo.toml -- -r site build -o target/site | |
env: | |
ZOLA_URL: "https://github.com/getzola/zola/releases/download/v0.17.2/zola-v0.17.2-x86_64-unknown-linux-gnu.tar.gz" | |
- run: cargo run --bin rune -- doc --output target/site/docs | |
env: | |
RUST_LOG: rune=info | |
- run: mdbook build -d ../target/site/book book | |
- uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
external_repository: rune-rs/rune-rs.github.io | |
publish_branch: main | |
publish_dir: target/site |