Configure server credentials.
This commit is contained in:
parent
fcb87e13a5
commit
ca67ca638b
2 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue