backend/.gitlab-ci.yml

22 lines
484 B
YAML

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
script:
- podman build -t little-lines-backend .
container-deploy:
stage: deploy
script:
- systemctl --user start little-lines-backend