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:
|
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:
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue