midr @ b03cf48eb2074ef41ced9d59712b005a127c17bf

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