lumbung.space/makefile

24 lines
681 B
Makefile
Raw Normal View History

2021-12-15 10:29:58 +00:00
DEFAULT: serve
serve:
2021-12-15 12:22:30 +00:00
@hugo serve --watch
2021-12-15 10:29:58 +00:00
2021-12-15 11:40:25 +00:00
gen:
@CALENDAR_URL="https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export"; \
OUTPUT_DIR=content/calendar; \
lumbunglib-cal && \
OUTPUT_DIR=content/video lumbunglib-vid
2022-01-05 10:02:44 +00:00
push-hugo:
@docker build -t decentral1se/beta.lumbung.space -f Dockerfile.hugo . && \
docker push decentral1se/beta.lumbung.space
push-scripts:
@docker build -t decentral1se/beta.lumbung.space-scripts -f Dockerfile.scripts . && \
docker push decentral1se/beta.lumbung.space-scripts
2022-01-05 12:00:42 +00:00
deploy:
@DOCKER_CONTEXT=lumbung.space docker stack deploy -c compose.yml beta_lumbung_space
.PHONY: serve gen push-hugo push-scripts deploy