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:
REPO_TOKEN:
from_secret: repo-token
REPO_TOKEN_OSSRH:
from_secret: repo-token-ossrh
commands:
- mvn -s maven-settings.xml deploy -DskipTests=true
when:

View file

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