Skip to content

Commit aa5d39c

Browse files
committed
ci: fix
1 parent 9874d4d commit aa5d39c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,18 @@ jobs:
5959
run: npx semantic-release --dry-run --branches 9520_gha # Uncomment for testing purposes
6060

6161
- name: Publish to Maven Central
62-
if: startsWith(github.ref, 'refs/tags/v')
6362
env:
6463
# TRAVIS_TAG: ${{ github.event.release.tag_name }} # for setMavenVersion
6564
TRAVIS_TAG: ${GITHUB_REF##*/} # for setMavenVersion
6665
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} # for .travis.settings.xml
67-
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
66+
OSSRH_PASSWORD: ${{ secrets.OSSRH_USERNAME }}
6867
run: |
6968
build/setupSigning.sh
7069
build/setMavenVersion.sh
7170
mvn deploy --settings build/.travis.settings.xml -DskipITs -Dskip.unit.tests -P central $MVN_ARGS
7271
7372
- name: Publish Java docs
74-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
73+
if: startsWith(github.ref, 'refs/tags/v')
7574
env:
7675
GH_TOKEN: ${{ secrets.GH_TOKEN }}
7776
GHA_REPO_SLUG: ${{ github.repository }}

0 commit comments

Comments
 (0)