lumbung.space/makefile

18 lines
488 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
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 --no-cache -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