1image: alpine/latest
2packages:
3 - rsync
4 - go
5 - hugo
6 - make
7
8sources:
9 - https://git.sr.ht/~gabrielgio/gabrielgio.me
10 - https://git.sr.ht/~sircmpwn/openring
11
12secrets:
13 - 008c4f67-b864-47f8-9790-cd32f2ae8516
14
15environment:
16 deploy: builds@gabrielgio.me
17
18tasks:
19 - openring: |
20 cd openring
21 go build -o openring
22 sudo cp openring /usr/local/bin/
23 - build: |
24 cd gabrielgio.me
25 make
26 - deploy: |
27 cd gabrielgio.me
28 sshopts="ssh -o StrictHostKeyChecking=no"
29 rsync --rsh="$sshopts" -rP public/* $deploy:/var/www/gabrielgio.me/
30
31