Skip to content

Commit d6a0147

Browse files
Add Makefile (#3)
1 parent 55f5180 commit d6a0147

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/ci.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ jobs:
1515
enable-cache: false
1616
- name: Build static files
1717
id: build
18-
run: |
19-
uv tool run \
20-
--with mkdocs-material \
21-
--with mkdocs-callouts \
22-
--with pymdown-extensions \
23-
mkdocs build --strict
18+
run: make build
2419
- name: Upload static files as artifact
2520
id: upload
2621
uses: actions/upload-pages-artifact@v3

Makefile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.PHONY: build serve
2+
3+
build:
4+
uv tool run \
5+
--with mkdocs-material \
6+
--with mkdocs-callouts \
7+
--with pymdown-extensions \
8+
mkdocs build --strict
9+
10+
serve:
11+
uv tool run \
12+
--with mkdocs-material \
13+
--with mkdocs-callouts \
14+
--with pymdown-extensions \
15+
mkdocs serve

0 commit comments

Comments
 (0)