Skip to content

Commit de61ae5

Browse files
committed
Update deploy.yaml to only add docs profile for java 17
1 parent 6450feb commit de61ae5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- 4.3.x
78

89
# Equivalent to Timer Trigger (H H * * * = once daily)
910
schedule:
@@ -90,5 +91,10 @@ jobs:
9091
env:
9192
REPO_SPRING_IO_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
9293
REPO_SPRING_IO_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
93-
run: ./mvnw clean deploy -Pdocs,deploy,spring -B -U
94+
run: |
95+
if [[ "${{ matrix.java-version }}" == "17" ]]; then
96+
./mvnw clean deploy -Pdocs,deploy,spring -B -U
97+
else
98+
./mvnw clean deploy -Pdeploy,spring -B -U
99+
fi
94100

0 commit comments

Comments
 (0)