blog/makefile
Matej Focko 8b744fdfed
chore: add target for deploying at once
Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-11-05 23:14:59 +01:00

14 lines
387 B
Makefile

dev:
URL=http://localhost BASE_URL=/ npm run start
deploy-aisa:
URL=https://fi.muni.cz BASE_URL=~xfocko/kb/ npm run build
rsync -avzrlpptv --delete build/ aisa:~/public_html/kb/
deploy-poincare:
URL=https://fi.mfocko.xyz BASE_URL=/ npm run build
rsync -avzrlpptv --delete build/ poincare:~/public_html/fi/
deploy: deploy-aisa deploy-poincare
.PHONY: deploy-aisa deploy-poincare