add manual deploy for docs

This commit is contained in:
FloatingGhost 2022-11-10 10:55:57 +00:00
parent 539c6d6666
commit dcc36df8cf
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# App artifacts
docs/site
*.zip
*.sw*
secret
/_build

View File

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