mirror of
https://github.com/mfocko/blog.git
synced 2024-11-25 06:11:55 +01:00
20 lines
576 B
Makefile
20 lines
576 B
Makefile
dev: regenerate-dots regenerate-zips
|
|
URL=http://localhost BASE_URL=/ yarn run start
|
|
|
|
deploy-aisa:
|
|
URL="https://fi.muni.cz" BASE_URL="~xfocko/kb/" yarn run build
|
|
rsync -avzrlpptv --delete build/ aisa:~/public_html/kb/
|
|
|
|
deploy-poincare:
|
|
URL="https://kb.mfocko.xyz" BASE_URL="/" yarn run build
|
|
rsync -avzrlpptv --delete build/ poincare:~/public_html/kb/
|
|
|
|
deploy: regenerate-dots regenerate-zips deploy-aisa deploy-poincare
|
|
|
|
regenerate-dots:
|
|
sh regenerate-dots.sh
|
|
|
|
regenerate-zips:
|
|
sh regenerate-zips.sh
|
|
|
|
.PHONY: deploy-aisa deploy-poincare regenerate-dots regenerate-zips
|