mirror of
https://gitlab.com/little-lines/backend.git
synced 2024-11-10 03:24:23 +00:00
22 lines
484 B
YAML
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
|