From 8dbfe8b32a6997037b8d08817d6dddb2b52f89d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Tue, 20 Jun 2023 14:15:26 +0200 Subject: [PATCH] CI: Add deploy manifest --- .build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..1e39b5e --- /dev/null +++ b/.build.yml @@ -0,0 +1,17 @@ +image: archlinux +packages: + - hugo + - rsync +sources: + - https://git.xenrox.net/~xenrox/homepage +secrets: + - 82f2033a-a06d-4324-a98a-112a6f37ae96 +triggers: + - action: email + condition: always + to: Thorben Günther +tasks: + - deploy: | + echo "StrictHostKeyChecking=no" >> ~/.ssh/config + cd homepage + hugo && rsync -avzP --delete public/ deploy@xenrox.net:/usr/share/webapps/homepage -- 2.44.0