1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-23 17:26:44 +02:00

Run exerciser as mdbook renderer.

This commit is contained in:
Andrew Walbran
2023-04-03 16:18:32 +01:00
parent e204b5060f
commit b6f5ba1af0
4 changed files with 13 additions and 1 deletions

View File

@ -18,3 +18,7 @@ runs:
- name: Install mdbook-i18n-helpers
run: cargo install mdbook-i18n-helpers --locked --version 0.1.0
shell: bash
- name: Install exerciser
run: cargo install --path mdbook-exerciser --locked
shell: bash

View File

@ -50,13 +50,16 @@ jobs:
echo "::endgroup::"
done
- name: Zip exercise templates
run: cd book/exerciser && zip --recurse-paths ../html/exercises.zip exercise-templates/
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: book
path: book/html
- name: Deploy to GitHub Pages
id: deployment