1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-03 23:30:09 +05:30

Update Makefile

This commit is contained in:
Avinal Kumar
2020-11-04 14:43:54 +00:00
parent 8f961ca279
commit 3bd39d7697
+5 -4
View File
@@ -78,9 +78,10 @@ publish:
theme:
"$(PELICANTHEME)" --install "$(THEMEDIR)" --verbose
github: publish
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) "$(OUTPUTDIR)"
git push -f origin $(GITHUB_PAGES_BRANCH)
gitlab: html
test -d "$(OUTPUTDIR)" &&\
mkdir -p public &&\
rm -rf public/* &&\
cp -r "$(OUTPUTDIR)"/* public/
.PHONY: html help clean regenerate serve serve-global devserver publish github