aboutsummaryrefslogtreecommitdiff
path: root/build.yml
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-30 22:02:40 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-30 22:02:40 +0000
commit30ba5c2dc7d2da5e1c9892b50de38cc2dd7a85ab (patch)
tree99c2ffe7209b36cb8a0b1e136c0234fd65966855 /build.yml
parentef9e52a017b9afa06d398c651050deb86c044819 (diff)
downloadapkbuilds-30ba5c2dc7d2da5e1c9892b50de38cc2dd7a85ab.tar.gz
apkbuilds-30ba5c2dc7d2da5e1c9892b50de38cc2dd7a85ab.tar.bz2
apkbuilds-30ba5c2dc7d2da5e1c9892b50de38cc2dd7a85ab.zip
fix: Move to web install
Nothing better than executing script from random place in the internet.
Diffstat (limited to 'build.yml')
-rw-r--r--build.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.yml b/build.yml
index a49bd29..1b6aa14 100644
--- a/build.yml
+++ b/build.yml
@@ -16,8 +16,11 @@ tasks:
- setup: |
echo "PACKAGER_PRIVKEY=\"/home/build/.abuild/mail@gabrielgio.me-62ddc4dc.rsa\"" > ~/.abuild/abuild.conf
- build: |
- cd apkbuilds/"${packages[@]}"
- abuild -r
+ for pkg in "${packages[@]}"; do
+ cd apkbuilds/"$pkg"
+ abuild -r
+ cd ..
+ done
- deploy: |
sshopts="ssh -o StrictHostKeyChecking=no"
rsync --rsh="$sshopts" -rP ~/packages/apkbuilds/ $deploy:/var/www/$target