diff --git a/.gitea/workflows/maven-publish.yml b/.gitea/workflows/maven-publish.yml index 1406e69..4381434 100644 --- a/.gitea/workflows/maven-publish.yml +++ b/.gitea/workflows/maven-publish.yml @@ -32,6 +32,19 @@ jobs: with: maven-version: 3.9.4 + # Configure Maven settings + - name: Maven Settings + uses: https://github.com/s4u/maven-settings-action@v2.8.0 + with: + servers: | + [ + { + "id": "rainnny-repo-public", + "username": "${{ secrets.PRIVATE_MAVEN_USER }}", + "password": "${{ secrets.PRIVATE_MAVEN_PASS }}" + } + ] + # Publish to Maven - name: Publish to Maven run: mvn deploy -B -Dstyle.color=always --update-snapshots \ No newline at end of file