Skip to content

Commit 745d95a

Browse files
committed
ci(makefile): add build-docs and serve-docs targets to makefile
1 parent c034d79 commit 745d95a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/docpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
run: |
19-
uv run --group docs mkdocs build
19+
make build-docs
2020
- name: Push doc to Github Page
2121
uses: peaceiris/actions-gh-pages@v4
2222
with:

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@ deploy-prod:
2727

2828
down-prod:
2929
docker-compose -f ./docker-compose.yml down
30+
31+
build-docs:
32+
uv run --group docs mkdocs build
33+
34+
serve-docs:
35+
uv run --group docs mkdocs serve

0 commit comments

Comments
 (0)