The Revolutionaries Rework #831
Workflow file for this run
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: 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 & plugins | |
uses: taiki-e/install-action@v2.18.6 | |
with: | |
tool: mdbook@0.4.36,mdbook-admonish@1.14.0,mdbook-linkcheck@0.7.7,mdbook-mermaid@0.12.6,mdbook-template@1.1.0,mdbook-emojicodes@0.3.0 | |
- 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 |