~laumann/laumann.xyz

laumann.xyz/.build.yml -rw-r--r-- 646 bytes
21eab1d8Thomas Bracht Laumann Jespersen post: On Communication around COVID-19 in Denmark 2 days ago
                                                                                
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
26
27
28
image: debian/stable
packages:
  - curl
  - rsync
  - ruby
  - ruby-dev
  - zlib1g-dev
sources:
  - https://git.sr.ht/~laumann/laumann.xyz
environment:
  deploy: deploy@laumann.xyz
secrets:
 - 2a5cb254-89e1-4393-9210-a7c68205b60a
triggers:
  - action: email
    condition: always
    to: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
tasks:
  - setup: |
      sudo gem install github-pages jekyll-textile-converter
      jekyll --version
  - build: |
      cd laumann.xyz
      jekyll build
  - deploy: |
      cd laumann.xyz
      sshopts="-4 -o StrictHostKeyChecking=no"
      rsync --rsh="ssh $sshopts" -rP _site/ ${deploy}:/var/www/htdocs/