re-add sourcehut build manifest
[~bandali/bndl.org] / .build.yml
diff --git a/.build.yml b/.build.yml
new file mode 100644 (file)
index 0000000..520db94
--- /dev/null
@@ -0,0 +1,13 @@
+image: alpine/3.9
+packages:
+  - rsync
+sources:
+  - https://git.sr.ht/~bandali/bandali.eu.org
+environment:
+  deploy: deploy@bandali.eu.org
+secrets:
+  - 6da5fd68-0594-4fc6-abe0-efe01ffe4b56
+tasks:
+  - deploy: |
+      sshopts="-o StrictHostKeyChecking=no"
+      rsync --rsh="ssh $sshopts" -rP bandali.eu.org/ ${deploy}:/var/www/bandali.eu.org/