Update .drone.yml
continuous-integration/drone/push Build is failing Details

pull/1/head
Muhep Atasoy 2019-12-15 16:00:59 +03:00
parent c4172e6215
commit 2846adeaf1
1 changed files with 10 additions and 8 deletions

View File

@ -16,12 +16,14 @@ steps:
# - ./vendor/bin/phpunit # - ./vendor/bin/phpunit
- name: github - name: github
image: appleboy/drone-git-push image: alpine/git
settings: environment:
key: SSH_KEY:
from_secret: id_rsa from_secret: id_rsa
branch: master SSH_KEY_PUB:
remote_name: github from_secret: id_rsa_pub
remote: git@github.com:muhep06/dgd-backupper-php.git commands:
commit: true - mkdir .ssh
force: false - echo $SSH_KEY > ~/.ssh/id_rsa
- echo $SSH_KEY_PUB > ~/.ssh/id_rsa.pub
- ssh-add ~/.ssh/id_rsa