From a77e31c56850228d0bd76203f11401c9b5ecbef5 Mon Sep 17 00:00:00 2001 From: Daniel Flower Date: Sat, 21 Dec 2024 16:48:16 +0800 Subject: [PATCH] Trying to fix site publishing --- .github/workflows/release.yaml | 4 +++- pom.xml | 8 -------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 14f53a9b..95164610 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,6 +32,8 @@ jobs: - run: git config --global user.name "Github Action" - run: echo "M2_HOME=$(dirname $(dirname `which mvn`))" >> $GITHUB_ENV - name: Verify package - run: mvn --batch-mode verify + run: mvn --batch-mode site site:stage verify - name: Release package run: mvn --batch-mode -DskipTests=true releaser:release + - name: Publish documentation + run: mvn scm-publish:publish-scm diff --git a/pom.xml b/pom.xml index a0b02cdb..7aa8179d 100644 --- a/pom.xml +++ b/pom.xml @@ -299,14 +299,6 @@ gh-pages - - - - publish-scm - - site - -