1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 07:40:09 +05:30
This commit is contained in:
Avinal Kumar
2020-11-13 18:28:01 +05:30
committed by GitHub
parent 855de378ac
commit 6dc915433e
+3 -5
View File
@@ -78,10 +78,8 @@ publish:
theme:
"$(PELICANTHEME)" --install "$(THEMEDIR)" --verbose
gitlab: html
test -d "$(OUTPUTDIR)" &&\
mkdir -p public &&\
rm -rf public/* &&\
cp -r "$(OUTPUTDIR)"/* public/
github: publish
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) "$(OUTPUTDIR)"
git push -f origin $(GITHUB_PAGES_BRANCH)
.PHONY: html help clean regenerate serve serve-global devserver publish github