experiment: combine processes into one step
This commit is contained in:
parent
beb03fbe07
commit
43850ca5ca
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue