apkbuilds @ 3a981c0912f4e229e5a11c97230d2f57d1f01c3c

 1image: alpine/3.19
 2repositories:
 3  gabrielgio.me: >
 4    https://artifacts.gabrielgio.me/repo/v3.19/
 5    https://artifacts.gabrielgio.me/repo/mail%40gabrielgio.me-62ddc4dc.rsa.pub
 6    mail@gabrielgio.me-62ddc4dc.rsa.pub    
 7packages:
 8  - openssl
 9  - rsync
10  - alpine-sdk
11  - minify
12  - apkdoc
13environment:
14  remote: builds@gabrielgio.me
15  remote_path: /var/www/artifacts.gabrielgio.me/repo/
16  packages: []
17sources:
18  - https://git.sr.ht/~gabrielgio/apkbuilds
19secrets:
20  - 008c4f67-b864-47f8-9790-cd32f2ae8516
21  - df9d57f4-43bb-4084-a748-dbf02848bdd0
22  - d8a9e8ed-cdb0-4e0e-9238-361acbe8611f
23tasks:
24  - setup: |
25      cd apkbuilds 
26      ./pkgkit add-repo -s apks ~/.abuild/mail@gabrielgio.me-62ddc4dc.rsa      
27  - build: |
28      cd apkbuilds
29      ./pkgkit build -cu "${packages[@]}"      
30  - deploy: |
31      cd apkbuilds
32      ./pkgkit upload "$remote" "$remote_path" "${packages[@]}"      
33  - doc: |
34      cd apkbuilds
35      sshopts="ssh -o StrictHostKeyChecking=no"
36      apkdoc -u "https://artifacts.gabrielgio.me/repo/v3.19/x86_64/APKINDEX.tar.gz" -f docs/index.html -o index.html
37      minify -o index.html index.html
38      rsync --rsh="$sshopts" -rP index.html $remote:/var/www/apkdoc.gabrielgio.me/      
39