Template
1
0
dummy/Makefile
2021-02-11 10:24:19 +01:00

15 lines
338 B
Makefile

all: build deploy update
build: Makefile
podman build -t repo.rcmd.space/dummy:latest .
podman push repo.rcmd.space/dummy:latest
deploy:
install -D -m 644 config/systemd/dummy.service /etc/systemd/system
systemctl daemon-reload
systemctl enable dummy.service
systemctl stop dummy.service
update:
systemctl restart dummy.service