From 43fb37f98e8025cb2e316e9f6d4c371474ec1326 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Mon, 28 Aug 2023 13:13:57 +0200 Subject: feat: Add step to publish apkdoc --- apks/apkdoc/APKBUILD | 4 +- build.yml | 9 ++ docs/bamboo.min.css | 369 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 380 insertions(+), 2 deletions(-) create mode 100644 docs/bamboo.min.css diff --git a/apks/apkdoc/APKBUILD b/apks/apkdoc/APKBUILD index 5dbd66f..f9bff55 100644 --- a/apks/apkdoc/APKBUILD +++ b/apks/apkdoc/APKBUILD @@ -1,8 +1,8 @@ # Maintainer: Gabriel A. Giovanini pkgname=apkdoc pkgver=0_git20230828 -pkgrel=0 -_commit=b35eaff48af43b24fa7ce4636dd994dcc2d040a5 +pkgrel=1 +_commit=6a97f945c72e3d7b6f34b906d9ae84f97dab5762 pkgdesc="APKINDEX doc generator" url="https://sr.ht/~gabrielgio/apkdoc" arch="x86_64" 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/ + diff --git a/docs/bamboo.min.css b/docs/bamboo.min.css new file mode 100644 index 0000000..1baa6d7 --- /dev/null +++ b/docs/bamboo.min.css @@ -0,0 +1,369 @@ + -- cgit v1.2.3