www-jmbit-de/Makefile

24 lines
542 B
Makefile
Raw Normal View History

HEAD=$(shell git rev-parse --short HEAD)
dev:
hugo server -D
hugo:
hugo
container:
podman build -t docker.io/jmbitci/www-jmbit-de:latest .
podman build -t docker.io/jmbitci/www-jmbit-de:$(HEAD) .
publish:
podman push docker.io/jmbitci/www-jmbit-de:latest
podman push docker.io/jmbitci/www-jmbit-de:$(HEAD)
nopub: hugo container
podman run --rm -p8080:80 docker.io/jmbitci/www-jmbit-de
2022-12-31 17:15:40 +01:00
rollout:
2023-05-18 11:53:30 +02:00
kubectl --context=jmbit-prod rollout restart deployment www-jmbit-de -n jmbit-web
clean:
2023-02-05 16:09:53 +01:00
rm -rf public
all: hugo container publish