Skip to content

Commit

Permalink
#1579: build-workflow: Showing Maven extracted version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashackt committed Jan 15, 2021
1 parent e692eba commit 37b7ae3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -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

0 comments on commit 37b7ae3

Please sign in to comment.