Skip to content

Commit 3981b02

Browse files
committed
SITES-49657 - Release CIF components 2.18.6
* map MAVEN_CENTRAL_USERNAME / MAVEN_CENTRAL_PASSWORD into the release job env, so the settings.xml placeholders for the Sonatype Central Portal server resolve instead of being sent literally, which made the central-publishing plugin fail with HTTP 401 * document the two secrets in the workflow header
1 parent 5ec71aa commit 3981b02

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#
88
# Required secrets:
99
# ARTIFACTORY_CLOUD_USER, ARTIFACTORY_CLOUD_PASS - Adobe Artifactory (.github/scripts/settings.xml)
10+
# MAVEN_CENTRAL_USERNAME, MAVEN_CENTRAL_PASSWORD - Sonatype Central Portal (.github/scripts/settings.xml)
1011
# NPM_TOKEN - npm publish
1112
# GPG_PRIVATE_KEY, GPG_PASSPHRASE - artifact signing
1213
# DEPLOY_QUERIES_SSH_KEY - deploy key with push access to
@@ -79,6 +80,8 @@ jobs:
7980
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
8081
ARTIFACTORY_CLOUD_USER: ${{ secrets.ARTIFACTORY_CLOUD_USER }}
8182
ARTIFACTORY_CLOUD_PASS: ${{ secrets.ARTIFACTORY_CLOUD_PASS }}
83+
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
84+
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
8285

8386
- name: Clean up secrets
8487
if: always()

0 commit comments

Comments
 (0)