stages:
- prepare
- build
- deploy
remove-old-services:
stage: prepare
script:
- systemctl --user stop little-lines-backend
- podman rm --force little-lines-backend
- cp little-lines-backend.container ~/.config/containers/systemd
- systemctl --user daemon-reload
container-build:
stage: build
- podman build -t little-lines-backend .
container-deploy:
stage: deploy
- systemctl --user start little-lines-backend