aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulien Dessaux2022-09-08 20:06:09 +0200
committerJulien Dessaux2022-09-08 20:06:09 +0200
commit65fa71f3a4483faf22554667a238bf481f49db5e (patch)
treeebcb64f08c39a1a4d42a849e9988206730617f5c /Makefile
parentTweaked Makefile help message (diff)
downloadwww-65fa71f3a4483faf22554667a238bf481f49db5e.tar.gz
www-65fa71f3a4483faf22554667a238bf481f49db5e.tar.bz2
www-65fa71f3a4483faf22554667a238bf481f49db5e.zip
Alphabetical order
Diffstat (limited to '')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c80a7db..9e63b16 100644
--- a/Makefile
+++ b/Makefile
@@ -15,17 +15,17 @@ build: ## make build # builds an optimized version of the website in $(DESTDIR)
buildah: ## make buildah # builds the container images
deploy/build-image.sh
-.PHONY: push
-push: ## make push # push the built images to quay.io
- buildah push adyxax/www quay.io/adyxax/www:$(REVISION)
- buildah push adyxax/www-search quay.io/adyxax/www-search:$(REVISION)
-
.PHONY: clean
clean: ## make clean # removed all $(DESTDIR) contents
@echo "----- Cleaning old build -----"
rm -f search/index.html search/index.json search/search
rm -rf $(DESTDIR)
+.PHONY: push
+push: ## make push # push the built images to quay.io
+ buildah push adyxax/www quay.io/adyxax/www:$(REVISION)
+ buildah push adyxax/www-search quay.io/adyxax/www-search:$(REVISION)
+
.PHONY: serve
serve: ## make serve # hugo web server development mode
hugo serve --disableFastRender --noHTTPCache --cacheDir $(CACHEDIR) --bind 0.0.0.0 --port 1313 -b http://$(HOSTNAME):1313/