This commit is contained in:
parent
ee7e178f03
commit
bef853a3ab
16
.drone.yml
16
.drone.yml
@ -20,8 +20,9 @@ steps:
|
|||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: SSH_KEY
|
from_secret: SSH_KEY
|
||||||
commands:
|
commands:
|
||||||
- echo "test" >> text.txt
|
- ping ya.ru
|
||||||
# - eval $(ssh-agent -s)
|
# - echo "test" >> text.txt
|
||||||
|
# - eval $(ssh-agent -s)
|
||||||
# - echo "$SSH_KEY" | ssh-add -
|
# - echo "$SSH_KEY" | ssh-add -
|
||||||
# - mkdir -p ~/.ssh
|
# - mkdir -p ~/.ssh
|
||||||
# - chmod 700 ~/.ssh
|
# - chmod 700 ~/.ssh
|
||||||
@ -32,17 +33,6 @@ steps:
|
|||||||
# - 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 -T 1C -U release:clean release:prepare release:perform --batch-mode
|
# - mvn --settings maven-settings.xml -T 1C -U release:clean release:prepare release:perform --batch-mode
|
||||||
|
|
||||||
- name: push
|
|
||||||
image: appleboy/drone-git-push
|
|
||||||
pull: if-not-exists
|
|
||||||
settings:
|
|
||||||
branch: master
|
|
||||||
remote: git@git.struchkov.dev:222/Godfather-Bots/godfather.git
|
|
||||||
commit: true
|
|
||||||
commit_message: test
|
|
||||||
ssh_key:
|
|
||||||
from_secret: SSH_KEY
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user