mirror of
https://github.com/danbulant/notes
synced 2026-05-19 20:38:58 +00:00
10 lines
No EOL
302 B
Makefile
10 lines
No EOL
302 B
Makefile
.PHONY: deploy
|
|
deploy: book
|
|
@echo "====> deploying to github"
|
|
git worktree add /tmp/book gh-pages
|
|
rm -rf /tmp/book/*
|
|
cp -rp html/* /tmp/book/
|
|
cd /tmp/book && \
|
|
git add -A && \
|
|
git commit -m "deployed on $(shell date) by ${USER}" && \
|
|
git push origin gh-pages
|