Skip to content

Commit 11eeafb

Browse files
automatic deployment to github (#393)
* DAO & Criteria Klassen als deprecated markiert - ORM Mapper statt dessen verwenden * javax -> jakarta * mit Java 17 bauen * findbugs -> spotbugs * clean up * Deployment mit Java 17 * Remove .travis.yml file * clean up * Update pom.xml * Update build process to use JDK 17 and Maven * Update Maven publish workflow to deploy to GitHub
1 parent d5fa32b commit 11eeafb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/maven-publish-on-push.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,13 @@ jobs:
9393
env:
9494
MAVEN_USERNAME: ${{ secrets.NERZ_USERNAME }}
9595
MAVEN_PASSWORD: ${{ secrets.NERZ_TOKEN }}
96-
96+
97+
- name: Publish to GitHub
98+
run: |
99+
mvn deploy -s $GITHUB_WORKSPACE/settings.xml
100+
env:
101+
MAVEN_USERNAME: ${{ github.actor }}
102+
MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
97103

98104

99105

0 commit comments

Comments
 (0)