Update maven-publish.yml

This commit is contained in:
Andrea Cavalli 2021-02-03 17:15:15 +01:00
parent db5c444b92
commit 875c9633b9

View File

@ -35,6 +35,9 @@ jobs:
server-id: mchv-release-distribution
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
env:
MAVEN_USERNAME: ${{ secrets.MCHV_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MCHV_TOKEN }}
- name: Deploy to Maven (Release)
if: github.ref == 'refs/heads/master'
shell: bash