various tweaks
[~bandali/bndl.org] / .build.yml
index 1313ca7..72b20c4 100644 (file)
@@ -1,18 +1,14 @@
-image: archlinux
+image: alpine/3.9
 packages:
 packages:
-  - emacs
   - rsync
 sources:
   - rsync
 sources:
-  - https://git.sr.ht/~aminb/aminb.org
+  - https://git.sr.ht/~bandali/bandali.eu.org
 environment:
 environment:
-  deploy: deploy@aminb.org
+  deploy: deploy@bandali.eu.org
 secrets:
 secrets:
-  - 12deb555-3219-4d9d-b4c7-ffeda86ef5fe
+  - 6da5fd68-0594-4fc6-abe0-efe01ffe4b56
 tasks:
 tasks:
-  - build: |
-      cd aminb.org
-      emacs -Q --script publish.el --funcall=aminb/publish
   - deploy: |
   - deploy: |
-      cd aminb.org
       sshopts="-o StrictHostKeyChecking=no"
       sshopts="-o StrictHostKeyChecking=no"
-      rsync --rsh="ssh $sshopts" -rP public/ ${deploy}:/var/www/aminb/html/
+      rsync --rsh="ssh $sshopts" --exclude='.git/' -rP \
+            bandali.eu.org/ ${deploy}:/var/www/bandali.eu.org/