From a3c07ae09431400f1cdc718a6a293a6b67c3c8d3 Mon Sep 17 00:00:00 2001 From: Jean-Kevin KPADEY Date: Sun, 19 May 2024 15:04:11 +0200 Subject: [PATCH] Fix deploy action --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4f64ce85..41276f26 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,10 +18,10 @@ jobs: distribution: 'adopt' java-version: '17' cache: 'maven' - server-username: SONATYPE_USERNAME - server-password: SONATYPE_PASSWORD + server-username: ${{ secrets.SONATYPE_USERNAME }} + server-password: ${{ secrets.SONATYPE_PASSWORD }} gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE + gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - name: Publish to Apache Maven Central run: mvn clean -DskipTests deploy --settings .settings.xml -P release,ossrh