Skip to content

Commit 50494b2

Browse files
committed
Fix deploy-website workflow and template issues
- Upgrade deploy-website.yml to use mvx instead of GitHub Actions setup-java - Use existing 'website build' command for consistency - Fix template escaping issue in interpreters.md that was causing 404 errors - Remove corrupted Java fx installation that was causing boot class path errors - Use Java 17 (already configured) which works with Maven 4.x - Remove non-existent include-javadocs profile from workflow The website now builds successfully with mvx-managed tools.
1 parent 075e871 commit 50494b2

File tree

4 files changed

+1046
-14
lines changed

4 files changed

+1046
-14
lines changed

.github/workflows/deploy-website.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@ jobs:
2222
with:
2323
fetch-depth: 0 # Fetch all history for proper git info
2424

25-
- name: Setup Java
26-
uses: actions/setup-java@v5
27-
with:
28-
distribution: 'temurin'
29-
java-version: '21'
30-
cache: 'maven'
25+
- name: Setup mvx
26+
run: ./mvx setup
3127

32-
- name: Build website with Javadocs
28+
- name: Build website
3329
shell: bash
30+
env:
31+
MVX_JAVA_VERSION: "21"
3432
run: |
3533
# Fetch GitHub Pages URL
3634
OWNER=$(echo "$GITHUB_REPOSITORY" | cut -d '/' -f 1)
@@ -40,11 +38,9 @@ jobs:
4038
echo "SITE_URL=$SITE_URL" >> $GITHUB_ENV
4139
echo "SITE_PATH=$SITE_PATH" >> $GITHUB_ENV
4240
echo "GITHUB_REPOSITORY=$GITHUB_REPOSITORY SITE_DIR=$SITE_DIR SITE_URL=$SITE_URL SITE_PATH=$SITE_PATH"
43-
QUARKUS_ROQ_GENERATOR_BATCH=true mvn -f website clean package quarkus:run \
44-
-DskipTests -Pinclude-javadocs \
41+
QUARKUS_ROQ_GENERATOR_BATCH=true ./mvx website build \
4542
-Dquarkus.http.root-path=$SITE_PATH \
46-
-Dsite.url=$SITE_URL \
47-
--no-transfer-progress
43+
-Dsite.url=$SITE_URL
4844
4945
- name: Upload build artifacts
5046
uses: actions/upload-pages-artifact@v4

.mvx/config.json5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@
7171

7272
"website build": {
7373
description: "Build the website using ROQ",
74-
script: "cd website && QUARKUS_ROQ_GENERATOR_BATCH=true mvn clean package quarkus\\:run --no-transfer-progress",
74+
script: "cd website && QUARKUS_ROQ_GENERATOR_BATCH=true mvn clean package quarkus:run -DskipTests --no-transfer-progress",
7575
override: true
7676
},
7777

7878
"website serve": {
7979
description: "Serve the website using ROQ dev mode",
80-
script: "cd website && mvn quarkus\\:dev -Dquarkus.http.port=8081 --no-transfer-progress",
80+
script: "cd website && mvn quarkus:dev -Dquarkus.http.port=8081 --no-transfer-progress",
8181
override: true
8282
},
8383

0 commit comments

Comments
 (0)