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 - d8a9e8ed-cdb0-4e0e-9238-361acbe8611f
15
16environment:
17 deploy: builds@gabrielgio.me
18
19tasks:
20 - openring: |
21 cd openring
22 go build -o openring
23 sudo cp openring /usr/local/bin/
24 - build: |
25 cd gabrielgio.me
26 make
27 - deploy: |
28 cd gabrielgio.me
29 sshopts="ssh -o StrictHostKeyChecking=no"
30 rsync --rsh="$sshopts" -rP public/* $deploy:/var/www/gabrielgio.me/
31
32