aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: d58a4e66f1c467d6633f25f01c3e76b273c7826a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: alpine/latest
packages:
  - rsync
  - hugo

secrets:
  - 008c4f67-b864-47f8-9790-cd32f2ae8516

environment:
  deploy: builds@gabrielgio.me

tasks:
  - build: |
      cd gabrielgio.me
      hugo
  - deploy: |
      cd gabrielgio.me
      sshopts="ssh -o StrictHostKeyChecking=no"
      rsync --rsh="$sshopts" -rP public/* $deploy:/var/www/gabrielgio.me/