Browse Source

test deploy

master
Ricardo A Carrasco 2 years ago
parent
commit
b1e4072d8c
  1. 14
      .drone.yml

14
.drone.yml

@ -12,20 +12,16 @@ steps:
# commands: # commands:
# # - "npm run build" # # - "npm run build"
# - "npm test -- --watchAll=false" # - "npm test -- --watchAll=false"
- name: deploy-stage - name: deploy
image: appleboy/drone-ssh image: drillster/drone-rsync
settings: settings:
host: hosts: ["carrasco.dev"]
from_secret: stage_server target: ~/test-app
username: user:
from_secret: ssh_user from_secret: ssh_user
key: key:
from_secret: ssh_key from_secret: ssh_key
command_timeout: 2m
script: script:
- cd test-app
- git pull
- ls -la
- docker-compose restart - docker-compose restart
# - name: notify # - name: notify
# image: curlimages/curl:7.80.0 # image: curlimages/curl:7.80.0

Loading…
Cancel
Save