This commit is contained in:
parent
d608b6ffd3
commit
90f4659beb
15
.drone.yml
15
.drone.yml
@ -21,10 +21,6 @@ steps:
|
|||||||
from_secret: SSH_KEY
|
from_secret: SSH_KEY
|
||||||
commands:
|
commands:
|
||||||
- echo "test" >> text.txt
|
- echo "test" >> text.txt
|
||||||
- git add --all
|
|
||||||
- git status
|
|
||||||
- git commit -m "test"
|
|
||||||
- git push
|
|
||||||
# - eval $(ssh-agent -s)
|
# - eval $(ssh-agent -s)
|
||||||
# - echo "$SSH_KEY" | ssh-add -
|
# - echo "$SSH_KEY" | ssh-add -
|
||||||
# - mkdir -p ~/.ssh
|
# - mkdir -p ~/.ssh
|
||||||
@ -36,6 +32,17 @@ 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: ssh://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