mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 11:32:39 +02:00
17 lines
402 B
Makefile
17 lines
402 B
Makefile
PELICAN=pelican
|
|
|
|
html:
|
|
$(PELICAN) -s pelican.conf.py content
|
|
|
|
upload: html
|
|
rsync -P -rvz --delete output/* artichaut:/home/www/blog.notmyidea.org
|
|
|
|
serve: html
|
|
cd output && python -m pelican.server 8000&
|
|
|
|
regenerate: serve
|
|
$(PELICAN) -r -s pelican.conf.py content
|
|
|
|
github: html
|
|
ghp-import -n $(OUTPUTDIR)
|
|
@git push -fq https://${GH_TOKEN}@github.com/$(TRAVIS_REPO_SLUG).git gh-pages > /dev/null
|