Configure server credentials.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Manuel Friedli 2023-05-16 02:26:45 +02:00
parent fcb87e13a5
commit ca67ca638b
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
2 changed files with 7 additions and 0 deletions

View file

@ -26,6 +26,8 @@ steps:
environment: environment:
REPO_TOKEN: REPO_TOKEN:
from_secret: repo-token from_secret: repo-token
REPO_TOKEN_OSSRH:
from_secret: repo-token-ossrh
commands: commands:
- mvn -s maven-settings.xml deploy -DskipTests=true - mvn -s maven-settings.xml deploy -DskipTests=true
when: when:

View file

@ -8,5 +8,10 @@
<username>ci</username> <username>ci</username>
<password>${env.REPO_TOKEN}</password> <password>${env.REPO_TOKEN}</password>
</server> </server>
<server>
<id>ossrh</id>
<username>fritteli</username>
<password>${env.REPO_TOKEN_OSSRH}</password>
</server>
</servers> </servers>
</settings> </settings>