From 852e95c080ed056f5c9319e4c09a06ffb384a893 Mon Sep 17 00:00:00 2001 From: bsorrentino Date: Thu, 10 Oct 2024 12:46:01 +0200 Subject: [PATCH] refactor(action): deploy aggregate site to pages work on #36 --- .github/workflows/deploy-pages.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 48e215e9..16b8ce4e 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -33,18 +33,18 @@ jobs: uses: actions/checkout@v4 - name: Setup Pages uses: actions/configure-pages@v5 - - name: Set up JDK 8 + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: 8 + java-version: 17 - name: Deploy site to Github pages run: | - mvn -B --projects core-jdk8 site + mvn -B -Pjdk-8,jdk-17 site:site site:stage - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: # Upload entire repository - path: './core-jdk8/target/site' + path: './target/staging' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4