Add build manifest
[~bandali/bndl.org] / .build.yml
1 image: debian/stretch
2 packages:
3 - emacs
4 - rsync
5 sources:
6 - https://git.sr.ht/~aminb/aminb.org
7 environment:
8 deploy: deploy@aminb.org
9 secrets:
10 - 12deb555-3219-4d9d-b4c7-ffeda86ef5fe
11 tasks:
12 - build: |
13 cd aminb.org
14 emacs -Q --script publish.el --funcall=aminb/publish
15 - deploy: |
16 cd aminb.org
17 sshopts="-o StrictHostKeyChecking=no"
18 rsync --rsh="ssh $sshopts" -rP public/ ${deploy}:/var/www/aminb/html/