distraction.party/docs/Makefile

15 lines
281 B
Makefile
Raw Normal View History

all: install
pipenv run mkdocs build
2022-11-10 10:55:57 +00:00
branch := $(shell git rev-parse --abbrev-ref HEAD)
install:
pipenv install
clean:
rm -rf site
serve:
pipenv run python3 -m http.server -d site
2022-11-10 10:55:57 +00:00
zip:
zip -r docs.zip site/*
deploy:
cd site && rclone copy . scaleway:akkoma-docs/$(branch)