experiment: combine processes into one step

This commit is contained in:
Late Night Defender 2023-11-19 23:43:12 +07:00
parent beb03fbe07
commit 43850ca5ca

View file

@ -7,14 +7,11 @@ steps:
# - cp ttt-org.container /home/sasha/.config/containers/systemd # - cp ttt-org.container /home/sasha/.config/containers/systemd
# - systemctl --user daemon-reload # - systemctl --user daemon-reload
container-build: quick-deploy:
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:
image: bash
commands:
- systemctl --user start ttt-org - systemctl --user start ttt-org