Skip to content

Commit a29f646

Browse files
dev: sparse-checkout for publish-book workflow
1 parent 229a272 commit a29f646

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/publish-book.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ jobs:
2424
deploy:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
30+
sparse-checkout: |
31+
docs
32+
overrides
33+
- run: echo "🐙 Sparse Checkout of ${{ github.repository }} repository to the CI runner."
3034
- uses: actions/setup-python@v4
3135
with:
3236
python-version: 3.x
@@ -36,3 +40,8 @@ jobs:
3640
path: .cache
3741
- run: pip install mkdocs-material mkdocs-callouts mkdocs-glightbox mkdocs-git-revision-date-localized-plugin mkdocs-redirects pillow cairosvg
3842
- run: mkdocs gh-deploy --force
43+
- run: echo "🐙 ."
44+
45+
# Summary and status
46+
- run: echo "🎨 MkDocs book workflow ended"
47+
- run: echo "🍏 Job status is ${{ job.status }}."

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44
- dev: spell lychee & repository trufflehog linters warn only (false positives)
55
- dev: action/checkout v4 with sparse-checkout for megalinter
6+
- dev: sparse-checkout for publish-book workflow
67

78
### Added
89
- building-api: add reitit overview and quick intro

0 commit comments

Comments
 (0)