2023-11-19 13:05:44 +00:00
|
|
|
steps:
|
2023-11-19 16:40:50 +00:00
|
|
|
# prepare:
|
|
|
|
# image: bash
|
|
|
|
# commands:
|
2023-11-19 16:37:14 +00:00
|
|
|
# - systemctl --user stop ttt-org
|
|
|
|
# - podman image rm localhost/ttt-org
|
|
|
|
# - cp ttt-org.container /home/sasha/.config/containers/systemd
|
|
|
|
# - systemctl --user daemon-reload
|
2023-11-19 15:52:52 +00:00
|
|
|
|
2023-11-19 16:43:12 +00:00
|
|
|
quick-deploy:
|
2023-11-19 16:40:50 +00:00
|
|
|
image: bash
|
|
|
|
commands:
|
|
|
|
- sed -i "s/DATE/$(date -I)/g" index.html
|
|
|
|
- sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html
|
|
|
|
- podman build -t ttt-org .
|
|
|
|
- systemctl --user start ttt-org
|
2023-11-19 16:43:12 +00:00
|
|
|
|