mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-21 23:56:52 +00:00
remove gitlab-ci
This commit is contained in:
parent
427bb51d30
commit
b27f6ceffd
1 changed files with 0 additions and 24 deletions
|
@ -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
|
Loading…
Reference in a new issue