revert Start using gitlab ci
This commit is contained in:
Late Night Defender 2023-11-18 20:41:39 +00:00
parent f4209e154c
commit 0714ddfe8f
2 changed files with 1 additions and 23 deletions

View file

@ -1,22 +0,0 @@
stages:
- prepare
- build
- deploy
remove-old-services:
stage: prepare
script:
- systemctl --user stop ttt-org
- podman rm --force ttt-org
- cp ttt-org.container ~/.config/containers/systemd
- systemctl --user daemon-reload
container-build:
stage: build
script:
- podman build -t ttt-org .
container-deploy:
stage: deploy
script:
- systemctl --user start ttt-org

View file

@ -4,7 +4,7 @@ Description=TechTransThai.org Website
[Container]
ContainerName=ttt-org
Image=ttt-org
PublishPort=8089:80
PublishPort=8084:80
[Service]
Restart=always