Skip to content

Commit d2e4292

Browse files
committed
Rename Central Portal deployment env vars harder
I missed some references earlier.
1 parent eaf2bd8 commit d2e4292

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ EOL
138138
scmURL=${scmURL%/}
139139
if [ "$NO_DEPLOY" ]; then
140140
echo "No deploy -- the NO_DEPLOY flag is set"
141-
elif [ ! "$SIGNING_ASC" -o ! "$GPG_KEY_NAME" -o ! "$GPG_PASSPHRASE" -o ! "$MAVEN_PASS" -o ! "$OSSRH_PASS" ]; then
141+
elif [ ! "$SIGNING_ASC" -o ! "$GPG_KEY_NAME" -o ! "$GPG_PASSPHRASE" -o ! "$MAVEN_PASS" -o ! "$CENTRAL_PASS" ]; then
142142
echo "No deploy -- secure environment variables not available"
143143
elif [ "$BUILD_REPOSITORY" -a "$BUILD_REPOSITORY" != "$scmURL" ]; then
144144
echo "No deploy -- repository fork: $BUILD_REPOSITORY != $scmURL"

github-actionify.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ process() {
129129
GPG_PASSPHRASE: \${{ secrets.GPG_PASSPHRASE }}
130130
MAVEN_USER: \${{ secrets.MAVEN_USER }}
131131
MAVEN_PASS: \${{ secrets.MAVEN_PASS }}
132-
OSSRH_USER: \${{ secrets.OSSRH_USER }}
133-
OSSRH_PASS: \${{ secrets.OSSRH_PASS }}
132+
CENTRAL_USER: \${{ secrets.CENTRAL_USER }}
133+
CENTRAL_PASS: \${{ secrets.CENTRAL_PASS }}
134134
SIGNING_ASC: \${{ secrets.SIGNING_ASC }}"
135135

136136
# -- Do things --

0 commit comments

Comments
 (0)