From 4a80e110f67f1c12c0bbc297b7cf439aa2ed3eba Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Wed, 22 Jun 2022 18:11:22 +0200 Subject: feat: Move from gitlab to sr.ht pipeline --- .build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .build.yml (limited to '.build.yml') diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..d58a4e6 --- /dev/null +++ b/.build.yml @@ -0,0 +1,21 @@ +image: alpine/latest +packages: + - rsync + - hugo + +secrets: + - 008c4f67-b864-47f8-9790-cd32f2ae8516 + +environment: + deploy: builds@gabrielgio.me + +tasks: + - build: | + cd gabrielgio.me + hugo + - deploy: | + cd gabrielgio.me + sshopts="ssh -o StrictHostKeyChecking=no" + rsync --rsh="$sshopts" -rP public/* $deploy:/var/www/gabrielgio.me/ + + -- cgit v1.2.3