blob: ec137a9e850eb158ba0106c0bf8b3473f87e30ea (
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
|
# 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
|