Skip to content

Commit 54a8f94

Browse files
authored
Updating antora.yml - Improving Workflow for Antora Site Generation (#32)
Improving Workflow for Antora Site Generation - Adding check and error handling to ensure if the antore site generator is installed properly. - enabling stacktrace generation for easy troubleshooting.
1 parent 0243f0a commit 54a8f94

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/antora.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ jobs:
2020
- name: Install Antora
2121
run: npm install -g @antora/cli @antora/site-generator-default
2222

23+
- name: Verify Antora Installation
24+
run: npm list -g @antora/cli @antora/site-generator-default || echo "Antora packages are not installed."
25+
2326
- name: Generate Site with Antora
24-
run: antora --fetch playbook.yml
27+
run: antora --fetch --stacktrace playbook.yml
2528

2629
- name: Deploy to GitHub Pages
2730
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)