blog/Makefile

22 lines
812 B
Makefile
Raw Permalink Normal View History

2024-06-27 10:02:29 -04:00
ASCIINEMA_VERSION=3.8.0
2023-03-16 00:08:25 -04:00
2023-03-17 19:08:03 -04:00
.PHONY: update-bootstrap
2023-03-16 00:08:25 -04:00
update-bootstrap:
2023-07-22 19:42:57 -04:00
curl -L "https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css" -o static/assets/bootstrap.min.css
curl -L "https://cdn.jsdelivr.net/npm/bootstrap@5/dist/js/bootstrap.min.js" -o static/assets/bootstrap.min.js
2023-03-18 05:29:58 -04:00
2023-07-22 19:47:32 -04:00
.PHONY: update-asciinema
update-asciinema:
curl -L "https://github.com/asciinema/asciinema-player/releases/download/v$(ASCIINEMA_VERSION)/asciinema-player.css" -o static/assets/asciinema-player.css
curl -L "https://github.com/asciinema/asciinema-player/releases/download/v$(ASCIINEMA_VERSION)/asciinema-player.min.js" -o static/assets/asciinema-player.min.js
2023-03-18 05:29:58 -04:00
.PHONY: deploy
deploy:
2023-07-22 19:42:57 -04:00
rsync -av public desk:/var/www/balki.me
2023-03-18 05:29:58 -04:00
2023-07-26 18:24:05 -04:00
build:
hugo --logLevel debug
serve:
hugo server -D --bind "0.0.0.0" --navigateToChanged