Grab & Martial Arts #530
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/[email protected] | |
with: | |
tool: [email protected],[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 |