This commit is contained in:
parent
da4b053d35
commit
b2f0f0f33a
11
.drone.yml
11
.drone.yml
@ -6,14 +6,6 @@ clone:
|
|||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
|
||||||
environment:
|
|
||||||
SSH_KEY:
|
|
||||||
from_secret: SSH_KEY
|
|
||||||
commands:
|
|
||||||
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa
|
|
||||||
- git clone ssh://git@git.struchkov.dev:222/Godfather-Bots/godfather.git .
|
|
||||||
- git checkout $DRONE_COMMIT
|
|
||||||
|
|
||||||
- name: publish maven central
|
- name: publish maven central
|
||||||
image: maven:3.8.5-openjdk-17
|
image: maven:3.8.5-openjdk-17
|
||||||
@ -27,7 +19,10 @@ steps:
|
|||||||
from_secret: MAVEN_SETTINGS
|
from_secret: MAVEN_SETTINGS
|
||||||
GPG_PASSPHRASE:
|
GPG_PASSPHRASE:
|
||||||
from_secret: GPG_PASSPHRASE
|
from_secret: GPG_PASSPHRASE
|
||||||
|
SSH_KEY:
|
||||||
|
from_secret: SSH_KEY
|
||||||
commands:
|
commands:
|
||||||
|
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa
|
||||||
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user