diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbaa7c2..dd58713 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,7 @@ jobs: enable-cache: false - name: Build static files id: build - run: | - uv tool run \ - --with mkdocs-material \ - --with mkdocs-callouts \ - --with pymdown-extensions \ - mkdocs build --strict + run: make build - name: Upload static files as artifact id: upload uses: actions/upload-pages-artifact@v3 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8bc919c --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +.PHONY: build serve + +build: + uv tool run \ + --with mkdocs-material \ + --with mkdocs-callouts \ + --with pymdown-extensions \ + mkdocs build --strict + +serve: + uv tool run \ + --with mkdocs-material \ + --with mkdocs-callouts \ + --with pymdown-extensions \ + mkdocs serve