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