-image: archlinux
+image: alpine/3.9
packages:
- - emacs
- rsync
sources:
- - https://git.sr.ht/~aminb/aminb.org
+ - https://git.sr.ht/~bandali/bandali.eu.org
environment:
- deploy: deploy@aminb.org
+ deploy: deploy@bandali.eu.org
secrets:
- - 12deb555-3219-4d9d-b4c7-ffeda86ef5fe
+ - 6da5fd68-0594-4fc6-abe0-efe01ffe4b56
tasks:
- - build: |
- cd aminb.org
- emacs -Q --script publish.el --funcall=aminb/publish
- deploy: |
- cd aminb.org
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/