aboutsummaryrefslogtreecommitdiff
path: root/build.yml
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-08-28 13:13:57 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-08-28 13:16:46 +0200
commit43fb37f98e8025cb2e316e9f6d4c371474ec1326 (patch)
treef2c4c702885c45e71a4deddf11ca3d5aef0ceec2 /build.yml
parent02ecb5e91caed1b456c02f2939739f0f7a7f07ea (diff)
downloadapkbuilds-43fb37f98e8025cb2e316e9f6d4c371474ec1326.tar.gz
apkbuilds-43fb37f98e8025cb2e316e9f6d4c371474ec1326.tar.bz2
apkbuilds-43fb37f98e8025cb2e316e9f6d4c371474ec1326.zip
feat: Add step to publish apkdoc
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/
+