1# this build is meant to be submitted manually
2image: alpine/latest
3packages:
4 - rsync
5 - make
6 - go
7
8sources:
9 - https://git.sr.ht/~gabrielgio/midr
10
11secrets:
12 - 008c4f67-b864-47f8-9790-cd32f2ae8516
13
14environment:
15 deploy: builds@gabrielgio.me
16 target: artifacts.gabrielgio.me/midr/
17 GOPROXY: direct
18 XZ_OPT: -9
19
20tasks:
21 - build: |
22 cd midr
23 make tar
24 - deploy: |
25 cd midr
26 sshopts="ssh -o StrictHostKeyChecking=no"
27 rsync --rsh="$sshopts" -rP *.tar.xz $deploy:/var/www/$target
28