diff options
Diffstat (limited to 'build.yml')
-rw-r--r-- | build.yml | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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/ + |