Настройка сборки drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2022-12-17 13:51:02 +03:00
parent f60be70c52
commit 4df1745677

View File

@ -13,13 +13,10 @@ steps:
from_secret: MAVEN_SETTINGS from_secret: MAVEN_SETTINGS
GPG_PASSPHRASE: GPG_PASSPHRASE:
from_secret: GPG_PASSPHRASE from_secret: GPG_PASSPHRASE
TEST:
from_secret: TEST
commands: commands:
- echo $${TEST} - echo $GPG_PRIVATE_KEY >> gpg.key
- echo $${GPG_PRIVATE_KEY} >> gpg.key - echo $MAVEN_SETTINGS >> maven-settings.xml
- echo $${MAVEN_SETTINGS} >> maven-settings.xml - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
- gpg --pinentry-mode loopback --passphrase $${GPG_PASSPHRASE} --import gpg.key
- mvn --settings maven-settings.xml -U -P ossrh,release clean deploy - mvn --settings maven-settings.xml -U -P ossrh,release clean deploy
trigger: trigger: