Skip to content

Commit 7210441

Browse files
Update publish.yml
1 parent 732bdfa commit 7210441

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/publish.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,29 @@ jobs:
4646
run: |
4747
npm install -g @antora/cli @antora/site-generator
4848
npm install @antora/lunr-extension @antora/pdf-extension
49-
echo "NODE_PATH=$(npm root -g)" >> $GITHUB_ENV
50-
51-
- name: Debug Node Modules
52-
run: |
53-
echo "Installed global node modules:"
54-
ls "$(npm root -g)/@antora" || echo "Modules not installed correctly"
5549
5650
- name: Setup Java
5751
uses: actions/setup-java@v4
5852
with:
5953
distribution: 'temurin'
6054
java-version: '17'
6155

56+
- name: Install Ruby
57+
uses: ruby/setup-ruby@v1
58+
with:
59+
ruby-version: '3.3'
60+
bundler-cache: true
61+
62+
- name: Install Ruby Dependencies
63+
run: gem install bundler && bundle install
64+
6265
- name: Install Graphviz
6366
run: sudo apt-get update && sudo apt-get install -y graphviz
6467

6568
- name: Generate Site
6669
run: antora --fetch antora-playbook.yml
6770

68-
- name: Debug build output
71+
- name: List Generated Site
6972
run: ls -R build/site || echo "Site not generated"
7073

7174
- name: Upload Artifacts

0 commit comments

Comments
 (0)