Skip to content

Commit 876d4ab

Browse files
committed
[ci] Use correct credentials for central deployment
1 parent 3a6e7a4 commit 876d4ab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.ci/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ function pmd_ci_build_setup_maven_settings() {
254254
<servers>
255255
<server>
256256
<id>central</id>
257-
<username>\${env.CI_DEPLOY_USERNAME}</username>
258-
<password>\${env.CI_DEPLOY_PASSWORD}</password>
257+
<username>\${env.MAVEN_CENTRAL_PORTAL_USERNAME}</username>
258+
<password>\${env.MAVEN_CENTRAL_PORTAL_PASSWORD}</password>
259259
</server>
260260
</servers>
261261
<mirrors/>

.github/workflows/old-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
PMD_CI_GPG_PRIVATE_KEY: ${{ secrets.PMD_CI_GPG_PRIVATE_KEY }}
8282
MAVEN_GPG_PASSPHRASE: ${{ secrets.PMD_CI_GPG_PASSPHRASE }}
8383
PMD_ACTIONS_HELPER_TOKEN: ${{ steps.pmd-actions-helper-app-token.outputs.token }}
84+
MAVEN_CENTRAL_PORTAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_PORTAL_USERNAME }}
85+
MAVEN_CENTRAL_PORTAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PORTAL_PASSWORD }}
8486
- name: Workaround actions/upload-artifact#176
8587
run: |
8688
echo "artifacts_path=$(realpath ..)" >> $GITHUB_ENV

0 commit comments

Comments
 (0)