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
|
|
|
|
|
2022-01-05 11:53:04 +00:00
|
|
|
push-scripts:
|
2022-01-05 12:48:54 +00:00
|
|
|
@docker build --no-cache -t decentral1se/beta.lumbung.space-scripts -f Dockerfile.scripts . && \
|
2022-01-05 11:53:04 +00:00
|
|
|
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
|