Skip to content

Localization / language-switching support (mdbook-spacewizards build) #66

Localization / language-switching support (mdbook-spacewizards build)

Localization / language-switching support (mdbook-spacewizards build) #66

Workflow file for this run

name: Test mdBook Build & Upload Artifact
on:
# Run on only PR, no gh pages stuff
pull_request:
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
rustup update
- name: Install mdbook-spacewizards
uses: jaxxstorm/[email protected]
with: # Grab a specific tag with caching
repo: space-wizards/mdBook-spacewizards
tag: v0.4.35
cache: enable
- name: Install plugins
uses: taiki-e/[email protected]
with:
tool: [email protected],[email protected],[email protected],[email protected],[email protected]
- name: Build with mdBook
run: mdbook build
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Built Site
path: ./book/html
retention-days: 3