aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 5b406b95f7a1cd7a532532440fdc0ecc4ad531a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image: alpine/edge
packages:
  - curl
  - hugo
  - texinfo
  - rsync
  - openssh-client
secrets:
  - 17ae50ca-6991-4c70-b0c6-9f1adb17521b
tasks:
  - build: |
      cd website
      make
  - deploy: |
      [ "$(git -C website rev-parse --abbrev-ref HEAD)" = master ] || exit 0
      sshopt="--rsh=ssh -o StrictHostKeyChecking=no"
      rsync "$sshopt" -av --delete website/docs/ user-data@carbslinux.org:www/carbslinux.org