aboutsummaryrefslogtreecommitdiff
path: root/build.yml
diff options
context:
space:
mode:
Diffstat (limited to 'build.yml')
-rw-r--r--build.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.yml b/build.yml
index 2262a25..4326a8f 100644
--- a/build.yml
+++ b/build.yml
@@ -8,6 +8,8 @@ packages:
- openssl
- rsync
- alpine-sdk
+ - pandoc
+ - apkdoc
environment:
remote: builds@gabrielgio.me
remote_path: /var/www/artifacts.gabrielgio.me/repo/
@@ -28,3 +30,10 @@ tasks:
- deploy: |
cd apkbuilds
./pkgkit upload "$remote" "$remote_path" "${packages[@]}"
+ - doc: |
+ cd apkbuilds
+ sshopts="ssh -o StrictHostKeyChecking=no"
+ apkdoc -url "https://artifacts.gabrielgio.me/repo/v3.18/x86_64/APKINDEX.tar.gz"
+ pandoc -s --include-in-header=docs/bamboo.min.css -s index.md --metadata title="Gabriel's apk repo" -o index.html
+ rsync --rsh="$sshopts" -rP index.html $remote:/var/www/apkdoc.gabrielgio.me/
+