~dricottone/huttese-apk

aff9ff40b5e0ed300c09eaae6804529b3d28f3d9 — Drew DeVault 5 years ago 729255e
Add terrible bashisms because builds.sr.ht is dumb
1 files changed, 3 insertions(+), 3 deletions(-)

M build.yml
M build.yml => build.yml +3 -3
@@ 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[@]}"