mirror of
https://github.com/mfocko/blog.git
synced 2024-12-22 17:01:49 +01:00
Matej Focko
9f9dc39a31
• Do not keep the SVG files in the repository, generate them just for the builds • Also generate ZIP files with sources for downloading Signed-off-by: Matej Focko <mfocko@redhat.com>
20 lines
572 B
Makefile
20 lines
572 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://fi.mfocko.xyz BASE_URL=/ yarn run build
|
|
rsync -avzrlpptv --delete build/ poincare:~/public_html/fi/
|
|
|
|
deploy: regenerate-dots regenerate-zips deploy-aisa deploy-poincare
|
|
|
|
regenerate-dots:
|
|
bash regenerate-dots.sh
|
|
|
|
regenerate-zips:
|
|
bash regenerate-zips.sh
|
|
|
|
.PHONY: deploy-aisa deploy-poincare regenerate-dots regenerate-zips
|