Skip to content

Commit

Permalink
making it work with own repo
Browse files Browse the repository at this point in the history
  • Loading branch information
glelouet committed Jul 4, 2024
1 parent 30c87bf commit b91743c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ jobs:
with:
java-version: '21'
distribution: 'temurin'
server-id: github-glelouet-tools # Value of the distributionManagement/repository/id field of the pom.xml
server-id: kimsufi-ftp-release # Value of the distributionManagement/repository/id field of the pom.xml
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -ntp -s $GITHUB_WORKSPACE/settings.xml -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
env:
GITHUB_TOKEN: ${{ github.token }}
MAVEN_USERNAME: ${{ secrets.FTP_USER }}
MAVEN_PASSWORD: ${{ secrets.FTP_PASS }}

0 comments on commit b91743c

Please sign in to comment.