From 9d1c1d2c411021a201d5f0ff551d70d5e93ec2ab Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Sun, 19 Nov 2023 22:52:52 +0700 Subject: [PATCH] Update CI after fixing agent --- .woodpecker.yml | 39 +++++++++++++++------------------------ 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index faec988..2aa4c9a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,28 +1,19 @@ -workspace: - base: /home/sasha - path: woodpecker-builds/ttt-org - -# steps: -# prepare: -# image: bash -# commands: -# - systemctl --user stop ttt-org -# - cp ttt-org.container /home/sasha/.config/containers/systemd - -# container-build: -# 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 . - -# container-deploy: -# image: bash -# commands: -# - systemctl --user start ttt-org - steps: prepare: image: bash commands: - - podman info \ No newline at end of file + - systemctl --user stop ttt-org + - cp ttt-org.container /home/sasha/.config/containers/systemd + + container-build: + 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 . + + container-deploy: + image: bash + commands: + - systemctl --user start ttt-org +