summaryrefslogtreecommitdiff
path: root/.build.yml
blob: 043fcc614bcd702e60aadd042d9b9e31c135f722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
image: debian/stretch
packages:
- rsync
- ruby
- ruby-dev
- zlib1g-dev
sources:
- https://git.sr.ht/~benburwell/medicmate.io
secrets:
- a77e7f76-629d-4c49-803f-f223083816f0
environment:
  site: medicmate.io
triggers:
- action: email
  condition: always
  to: Ben Burwell <ben@benburwell.com>
tasks:
- setup: |
    sudo gem install github-pages
- build: |
    cd medicmate.io
    jekyll build
- deploy: |
    sshopts="-o StrictHostKeyChecking=no"
    rsync --delete --rsh="ssh $sshopts" -rP $site/_site/ bburwell@$site:$site