mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 14:42:30 +00:00
docs: Test building crate docs
This commit is contained in:
15
.github/workflows/docs.yml
vendored
15
.github/workflows/docs.yml
vendored
@@ -29,6 +29,15 @@ jobs:
|
||||
- run: pip install mkdocs-material
|
||||
- run: mkdocs build --clean
|
||||
|
||||
- name: Save build cache
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
key: mkdocs-material-${{ hashfiles('.cache/**') }}
|
||||
path: .cache
|
||||
|
||||
- name: Build crate docs
|
||||
run: cargo doc --no-deps --workspace --target-dir site/crate
|
||||
|
||||
- name: Upload to GitHub Pages
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
@@ -36,9 +45,3 @@ jobs:
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
- name: Save build cache
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
key: mkdocs-material-${{ hashfiles('.cache/**') }}
|
||||
path: .cache
|
||||
|
||||
Reference in New Issue
Block a user