settings.xml Nexus username is not a secret (#31)

* settings.xml Nexus username is not a secret

* Update deploy-sonatype.yml
This commit is contained in:
Paul Campbell 2021-03-26 06:59:49 +00:00 committed by GitHub
parent 33bc1d4e78
commit e2a4838d5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -3,12 +3,12 @@
<servers> <servers>
<server> <server>
<id>sonatype-nexus-snapshots</id> <id>sonatype-nexus-snapshots</id>
<username>${env.NEXUS_USERNAME}</username> <username>kemitix</username>
<password>${env.NEXUS_PASSWORD}</password> <password>${env.NEXUS_PASSWORD}</password>
</server> </server>
<server> <server>
<id>sonatype-nexus-staging</id> <id>sonatype-nexus-staging</id>
<username>${env.NEXUS_USERNAME}</username> <username>kemitix</username>
<password>${env.NEXUS_PASSWORD}</password> <password>${env.NEXUS_PASSWORD}</password>
</server> </server>
</servers> </servers>

View file

@ -34,7 +34,6 @@ jobs:
-B \ -B \
deploy deploy
env: env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }} GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}