docs: add GHA workflow

This commit is contained in:
Daylin Morgan 2022-09-18 10:11:24 -05:00
parent 2acb570a4e
commit 718fac7e3e
2 changed files with 18 additions and 1 deletions

17
.github/workflows/docs.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material \
mkdocs-git-revision-date-localized-plugin
- run: mkdocs gh-deploy --force

View file

@ -23,7 +23,7 @@ Current Features:
Depends on `GNU Make`, obviously and `Python >=3.7`.
Wait python?!?!, I'm not `pip` installing some package just to parse my makefile.
I agree, all you need is one file [`.task.mk`](./task.mk).
I agree, all you need is one file [`.task.mk`](https://github.com/daylinmorgan/task.mk/blob/main/task.mk).
You can automagically include it with just two additional lines to your `Makefile` (and probably one to your `.gitignore`) and your good to go.
## Setup