diff options
author | Julien Dessaux | 2022-09-13 00:10:44 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-09-13 00:11:06 +0200 |
commit | 6ecb37d1e6635562c211c2319656a22a254f4b08 (patch) | |
tree | 8b4ff1fa73173babea6579fe5d57f5c85516a6e3 /Makefile | |
parent | Added book thief book article (diff) | |
download | www-6ecb37d1e6635562c211c2319656a22a254f4b08.tar.gz www-6ecb37d1e6635562c211c2319656a22a254f4b08.tar.bz2 www-6ecb37d1e6635562c211c2319656a22a254f4b08.zip |
Added deploy Makefile target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,11 @@ clean: ## make clean # removed all $(DESTDIR) contents rm -f search/index.html search/index.json search/search rm -rf $(DESTDIR) +.PHONY: deploy +deploy: ## make deploy # deploy the website the active kubernetes context + sed -i deploy/www.yaml -e 's/^\(\s*image:[^:]*:\).*$$/\1$(REVISION)/' + kubectl apply -f deploy/www.yaml + .PHONY: push push: ## make push # push the built images to quay.io buildah push adyxax/www quay.io/adyxax/www:$(REVISION) |