From 4a7a012be4e5dbd46e1c9a555a2411f62e3bd8ee Mon Sep 17 00:00:00 2001 From: daudix-UFO Date: Fri, 13 Oct 2023 16:30:18 +0000 Subject: [PATCH] feat: Workflow --- .woodpecker.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..a9c8bbf --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,19 @@ +clone: + git: + image: bash + commands: + - cd /home/daudix + - if [ -d .exoci/website ]; then + - cd .exoci/website + - git pull + - git submodule update + - else + - git clone --recursive https://git.exozy.me/daudix/website.git .exoci/website + - fi + +pipeline: + build: + image: bash + commands: + - cd /home/daudix/.exoci/website + - ~/.nix-profile/bin/zola build --output-dir /srv/http/pages/daudix --force