Skip to content

Commit 8ca6237

Browse files
authored
Merge pull request #5 from murcoder14/murcoder14-patch-4
Update Maven deploy command with Nexus repository
2 parents f220eb8 + 290b903 commit 8ca6237

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
EOF
5252
5353
- name: Deploy to Nexus
54-
run: mvn deploy -DskipTests
54+
run: |
55+
mvn deploy -DskipTests \
56+
-DaltDeploymentRepository=nexus-releases::default::${{ secrets.NEXUS_URL }}/repository/tm-maven-releases/
5557
env:
5658
MAVEN_OPTS: "-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true"

0 commit comments

Comments
 (0)