Skip to content

Commit eb5e4d3

Browse files
committed
Use Maven directly for website deployment until new mvx release
Replaced mvx setup with standard GitHub Actions setup-java. Using Maven directly instead of through mvx to avoid compatibility issues with mvx 0.8.0 (which has the old built-in commands). Once we release a new version of mvx with the custom commands, we can switch back to using mvx for the website build. Changes: - Removed: ./mvx setup - Added: actions/setup-java@v4 with JDK 21 and Maven cache - Changed: ../mvx mvn → mvn (direct Maven invocation)
1 parent 6ea7baa commit eb5e4d3

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/deploy-website.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,22 @@ concurrency:
1515
jobs:
1616
build:
1717
runs-on: ubuntu-latest
18-
18+
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v5
2222
with:
2323
fetch-depth: 0 # Fetch all history for proper git info
24-
25-
- name: Setup mvx
26-
run: ./mvx setup
24+
25+
- name: Set up JDK 21
26+
uses: actions/setup-java@v4
27+
with:
28+
java-version: '21'
29+
distribution: 'temurin'
30+
cache: maven
2731

2832
- name: Build website
2933
shell: bash
30-
env:
31-
MVX_JAVA_VERSION: "21"
3234
run: |
3335
# Fetch GitHub Pages URL
3436
OWNER=$(echo "$GITHUB_REPOSITORY" | cut -d '/' -f 1)
@@ -39,7 +41,7 @@ jobs:
3941
echo "SITE_PATH=$SITE_PATH" >> $GITHUB_ENV
4042
echo "GITHUB_REPOSITORY=$GITHUB_REPOSITORY SITE_DIR=$SITE_DIR SITE_URL=$SITE_URL SITE_PATH=$SITE_PATH"
4143
cd website
42-
QUARKUS_ROQ_GENERATOR_BATCH=true ../mvx mvn clean package quarkus:run -DskipTests --no-transfer-progress \
44+
QUARKUS_ROQ_GENERATOR_BATCH=true mvn clean package quarkus:run -DskipTests --no-transfer-progress \
4345
-Dquarkus.http.root-path=$SITE_PATH \
4446
-Dsite.url=$SITE_URL
4547

0 commit comments

Comments
 (0)