From 7d26f2c099c6ed56f421347dd20cf82f67e7e946 Mon Sep 17 00:00:00 2001 From: Muhep Atasoy Date: Sun, 15 Dec 2019 15:23:56 +0300 Subject: [PATCH] (Test) Github Integration --- .drone.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7043165..0beb363 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,14 +3,24 @@ name: default type: docker steps: - - name: composer - pull: if-not-exists - image: composer - commands: - - composer install --prefer-dist +# - name: composer +# pull: if-not-exists +# image: composer +# commands: +# - composer install --prefer-dist +# +# +# - name: test +# image: lorisleiva/laravel-docker +# commands: +# - ./vendor/bin/phpunit - - - name: test - image: lorisleiva/laravel-docker + - name: github + image: alpine/git + environment: + SSH_KEY: + from_secret: ssh_key + SSH_KEY_PUB: + from_secret: ssh_key_pub commands: - - ./vendor/bin/phpunit + - echo ${SSH_KEY}