@@ 9,7 9,7 @@ packages:
- rsync
environment:
remote: deploy@mirror.sr.ht
- remote_path: /var/www/mirror.sr.ht/alpine/sr.ht
+ remote_path: /var/www/mirror.sr.ht/alpine
packages: []
sources:
- https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds
@@ 22,8 22,8 @@ tasks:
./pkgkit add-repo -s sr.ht ~/.abuild/alpine@sr.ht.rsa
- build: |
cd sr.ht-apkbuilds
- ./pkgkit build -cu $packages
+ ./pkgkit build -cu "${packages[@]}"
- deploy: |
cd sr.ht-apkbuilds
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
- ./pkgkit upload "$remote" "$remote_path" $packages
+ ./pkgkit upload "$remote" "$remote_path" "${packages[@]}"