www-jmbit-de/Makefile

23 lines
487 B
Makefile
Raw Normal View History

HEAD=$(shell git rev-parse --short HEAD)
dev:
hugo server -D
hugo:
hugo
container:
2023-08-03 11:13:56 +02:00
podman build -t docker.io/jmbitci/www-jmbit-de:latest -t docker.io/jmbitci/www-jmbit-de:$(HEAD) .
publish:
2023-08-03 11:13:56 +02:00
podman push docker.io/jmbitci/www-jmbit-de:latest --all-tags
nopub: hugo container
podman run --rm -p8080:80 docker.io/jmbitci/www-jmbit-de
2022-12-31 17:15:40 +01:00
2023-08-03 11:13:56 +02:00
#rollout:
# 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