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: @@ -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

Loading…
Cancel
Save