Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .github/workflows/build-and-deploy-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,15 @@ jobs:
ruby-version: '3.2'
bundler-cache: false

# Install Antora CLI, site generator, and advanced extensions
# Install Antora CLI, site generator, and advanced extensions.
# Uses `npm ci` to install the exact versions pinned in package-lock.json.
# A bare `npm install <pkg>` fetches whatever is currently tagged "latest" on
# npm, which for these pre-1.0 Antora packages can silently pull in a newer,
# API-incompatible combination (e.g. @antora/pdf-extension -> @antora/assembler
# requiring a ContentCatalog API not present in the pinned site-generator).
- name: Install Antora and Extensions
run: |
npm install @antora/cli @antora/site-generator-default
npm install @antora/lunr-extension @antora/pdf-extension @asciidoctor/tabs
npm ci
gem install asciidoctor-pdf asciidoctor-kroki asciidoctor-plantuml

# Make update-repo-url.sh executable and run it to update URLs
Expand Down Expand Up @@ -131,13 +135,17 @@ jobs:
ruby-version: '3.2'
bundler-cache: false

# Install Antora CLI, site generator, and advanced extensions
# Install Antora CLI, site generator, and advanced extensions.
# Uses `npm ci` to install the exact versions pinned in package-lock.json.
# A bare `npm install <pkg>` fetches whatever is currently tagged "latest" on
# npm, which for these pre-1.0 Antora packages can silently pull in a newer,
# API-incompatible combination (e.g. @antora/pdf-extension -> @antora/assembler
# requiring a ContentCatalog API not present in the pinned site-generator).
- name: Install Antora and Extensions
run: |
npm install @antora/cli @antora/site-generator-default
npm install @antora/lunr-extension @antora/pdf-extension @asciidoctor/tabs
npm ci
gem install asciidoctor-pdf asciidoctor-kroki asciidoctor-plantuml

# Verify that Antora was installed correctly (useful for debugging)
- name: Verify Antora Installation
run: npm list @antora/cli @antora/site-generator-default || echo "Antora packages are not installed."
Expand Down
3 changes: 1 addition & 2 deletions code/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar

# Liberty
# Liberty (target/liberty/ already covered by target/ above)
.liberty/
.factorypath
wlp/
liberty/

# IntelliJ IDEA
.idea/
Expand Down
Loading