This commit is contained in:
parent
bf9404fb35
commit
b8edee1cc6
21
.drone.yml
21
.drone.yml
@ -20,16 +20,17 @@ steps:
|
|||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: SSH_KEY
|
from_secret: SSH_KEY
|
||||||
commands:
|
commands:
|
||||||
- eval $(ssh-agent -s)
|
- git status
|
||||||
- echo "$SSH_KEY" | ssh-add -
|
# - eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
# - echo "$SSH_KEY" | ssh-add -
|
||||||
- chmod 700 ~/.ssh
|
# - mkdir -p ~/.ssh
|
||||||
- ssh-keyscan google.com >> ~/.ssh/known_hosts
|
# - chmod 700 ~/.ssh
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
# - ssh-keyscan -t rsa git.struchkov.dev >> ~/.ssh/known_hosts
|
||||||
- echo "$GPG_PRIVATE_KEY" >> gpg.key
|
# - chmod 644 ~/.ssh/known_hosts
|
||||||
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
|
# - echo "$GPG_PRIVATE_KEY" >> gpg.key
|
||||||
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
# - echo "$MAVEN_SETTINGS" >> maven-settings.xml
|
||||||
- mvn --settings maven-settings.xml -T 1C -U release:clean release:prepare release:perform --batch-mode
|
# - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
||||||
|
# - mvn --settings maven-settings.xml -T 1C -U release:clean release:prepare release:perform --batch-mode
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
Loading…
Reference in New Issue
Block a user