From 2846adeaf17bf6e28ab666378b29db276d7703af Mon Sep 17 00:00:00 2001 From: Muhep Atasoy Date: Sun, 15 Dec 2019 16:00:59 +0300 Subject: [PATCH] Update .drone.yml --- .drone.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index ec577e3..2dfd87e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,12 +16,14 @@ steps: # - ./vendor/bin/phpunit - name: github - image: appleboy/drone-git-push - settings: - key: + image: alpine/git + environment: + SSH_KEY: from_secret: id_rsa - branch: master - remote_name: github - remote: git@github.com:muhep06/dgd-backupper-php.git - commit: true - force: false + SSH_KEY_PUB: + from_secret: id_rsa_pub + commands: + - mkdir .ssh + - echo $SSH_KEY > ~/.ssh/id_rsa + - echo $SSH_KEY_PUB > ~/.ssh/id_rsa.pub + - ssh-add ~/.ssh/id_rsa