1image: alpine/latest
2packages:
3 - rsync
4 - hugo
5
6secrets:
7 - 008c4f67-b864-47f8-9790-cd32f2ae8516
8
9environment:
10 deploy: builds@gabrielgio.me
11
12tasks:
13 - build: |
14 cd gabrielgio.me
15 hugo
16 - deploy: |
17 cd gabrielgio.me
18 sshopts="ssh -o StrictHostKeyChecking=no"
19 rsync --rsh="$sshopts" -rP public/* $deploy:/var/www/gabrielgio.me/
20
21