This commit is contained in:
Late Night Defender 2023-11-19 23:37:14 +07:00
parent 639bd8ff3e
commit 6c2138b3e5

View file

@ -2,20 +2,22 @@ steps:
prepare: prepare:
image: bash image: bash
commands: commands:
- systemctl --user stop ttt-org - podman images
- podman image rm localhost/ttt-org - podman info
- cp ttt-org.container /home/sasha/.config/containers/systemd # - systemctl --user stop ttt-org
- systemctl --user daemon-reload # - podman image rm localhost/ttt-org
# - cp ttt-org.container /home/sasha/.config/containers/systemd
# - systemctl --user daemon-reload
container-build: # container-build:
image: bash # image: bash
commands: # commands:
- sed -i "s/DATE/$(date -I)/g" index.html # - sed -i "s/DATE/$(date -I)/g" index.html
- sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html # - sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html
- podman build -t ttt-org . # - podman build -t ttt-org .
container-deploy: # container-deploy:
image: bash # image: bash
commands: # commands:
- systemctl --user start ttt-org # - systemctl --user start ttt-org