re-add sourcehut build manifest
authorAmin Bandali <bandali@gnu.org>
Tue, 7 May 2019 20:56:30 +0000 (16:56 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 7 May 2019 20:56:30 +0000 (16:56 -0400)
.build.yml [new file with mode: 0644]

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/