From b1e4072d8c9c7affbd0d4aa1ed1f7b736b678482 Mon Sep 17 00:00:00 2001 From: Ricardo Carrasco Date: Tue, 27 Sep 2022 16:13:14 -0400 Subject: [PATCH] test deploy --- .drone.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 17d6921..7ba6c9e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,20 +12,16 @@ steps: # commands: # # - "npm run build" # - "npm test -- --watchAll=false" - - name: deploy-stage - image: appleboy/drone-ssh + - name: deploy + image: drillster/drone-rsync settings: - host: - from_secret: stage_server - username: + hosts: ["carrasco.dev"] + target: ~/test-app + user: from_secret: ssh_user key: from_secret: ssh_key - command_timeout: 2m script: - - cd test-app - - git pull - - ls -la - docker-compose restart # - name: notify # image: curlimages/curl:7.80.0