remove gitlab-ci

This commit is contained in:
Late Night Defender 2024-03-28 00:44:45 +07:00
parent 427bb51d30
commit b27f6ceffd

View file

@ -1,24 +0,0 @@
stages:
- prepare
- build
- deploy
remove-old-services:
stage: prepare
script:
- systemctl --user stop little-lines-frontend
- podman rm --force little-lines-frontend
- cp little-lines-frontend.container ~/.config/containers/systemd
- systemctl --user daemon-reload
container-build:
stage: build
script:
- sed -i "s/DATE/$(date -I)/g" ${CI_PROJECT_DIR}/src/views/About.vue
- sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" ${CI_PROJECT_DIR}/src/views/About.vue
- podman build -t little-lines-frontend .
container-deploy:
stage: deploy
script:
- systemctl --user start little-lines-frontend