Skip to content

Commit a7660ca

Browse files
committed
WIP
1 parent fb2d942 commit a7660ca

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ jobs:
5454
- name: generate docs
5555
run: |
5656
cd docs
57+
curl -O --header "Authorization: Bearer ${{secrets.GITHUB_TOKEN}}" https://github.com/smallrye/smallrye-antora-ui/blob/main/build/ui-bundle.zip?raw=true
58+
ls -l
5759
npm i @antora/cli@2.3 @antora/site-generator-default@2.3 asciidoctor-kroki
58-
./node_modules/@antora/cli/bin/antora antora generate antora-playbook.yml
60+
./node_modules/@antora/cli/bin/antora --stacktrace --ui-bundle-url "./ui-bundle.zip" generate antora-playbook.yml
5961
cd ..
6062
cp -r docs/build/site website/docs
6163

docs/antora-playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ content:
2424
start_path: doc
2525
ui:
2626
bundle:
27-
url: https://github.com/smallrye/smallrye-antora-ui/blob/main/build/ui-bundle.zip?raw=true
27+
url: https://github.com/smallrye/smallrye-antora-ui/raw/refs/heads/main/build/ui-bundle.zip
2828
snapshot: true
2929
asciidoc:
3030
extensions:

0 commit comments

Comments
 (0)