diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 94d2cf3..1ab993c 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -44,22 +44,25 @@ steps: - build/ci/Dockerfile - deploy/docker-compose.yml - migrations - - cmd + - butler rm: true -# - name: deploy -# pull: if-not-exists -# image: appleboy/drone-ssh -# settings: -# host: -# from_secret: SSH_IP -# username: -# from_secret: SSH_USER -# key: -# from_secret: SSH_KEY -# port: -# from_secret: SSH_PORT -# script: + - name: deploy + pull: if-not-exists + image: appleboy/drone-ssh + settings: + host: + from_secret: SSH_IP + username: + from_secret: SSH_USER + key: + from_secret: SSH_KEY + port: + from_secret: SSH_PORT + script: + - mv build/ci/Dockerfile . + - mv deploy/docker-compose.yml . + - rm -r build deploy # TODO: # scp bin, Dockerfile, docker-compose