-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
19 lines (16 loc) · 835 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
help:
@echo 'Makefile for a pelican Web site '
@echo ' '
@echo 'Usage: '
@echo ' make build generate site with relative paths '
@echo ' make serve serve the output directory in a local server '
@echo ' make publish.github generate and publish the site to github pages'
@echo ' '
build:
pipenv run pelican content -o output -s pelicanconf.py -d
serve:
cd output && pipenv run python -m pelican.server 4001
publish.github:
pipenv run pelican content -o output -s publishconf.py -v
pipenv run ghp-import output
git push origin gh-pages