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