1image: alpine/latest
2packages:
3 - rsync
4 - hugo
5 - openring
6
7sources:
8 - https://git.sr.ht/~gabrielgio/gabrielgio.me
9
10secrets:
11 - 008c4f67-b864-47f8-9790-cd32f2ae8516
12 - d8a9e8ed-cdb0-4e0e-9238-361acbe8611f
13
14environment:
15 deploy: builds@gabrielgio.me
16
17tasks:
18 - build: |
19 cd gabrielgio.me
20 make
21 - deploy: |
22 cd gabrielgio.me
23 sshopts="ssh -o StrictHostKeyChecking=no"
24 rsync --rsh="$sshopts" -rP public/* $deploy:/var/www/gabrielgio.me/