From 37b7ae3d23f81a34ac73bc6b4d4ea401e25d2753 Mon Sep 17 00:00:00 2001 From: Jonas Hecht Date: Fri, 15 Jan 2021 15:59:06 +0100 Subject: [PATCH] #1579: build-workflow: Showing Maven extracted version. --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9cfa88bd585..12e380e7d3f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,11 +37,14 @@ jobs: - name: Extract Maven project version for Asciidoc GitHub Pages directory naming run: echo "PROJECT_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_ENV + - name: Show extracted Maven project version + run: echo $PROJECT_VERSION + - name: Deploy GitHub Pages uses: JamesIves/github-pages-deploy-action@3.7.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages # The branch the action should deploy to. FOLDER: spring-boot-admin-docs/target/generated-docs # The folder the action should deploy. - TARGET_FOLDER: "$PROJECT_VERSION" + TARGET_FOLDER: $PROJECT_VERSION CLEAN: true # Automatically remove deleted files from the deploy branch