ref: 351bf14558a231f34fb31a91310e455c8bf5ceae site/.build.yml -rw-r--r-- 436 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: archlinux
packages:
  - emacs
  - rsync
sources:
  - https://git.sr.ht/~aminb/aminb.org
environment:
  deploy: deploy@aminb.org
secrets:
  - 12deb555-3219-4d9d-b4c7-ffeda86ef5fe
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/