feat: try to deploy

This commit is contained in:
Supan Adit Pratama 2022-04-14 22:08:43 +07:00
parent 6b93bf8fa0
commit c9b505f998

View File

@ -11,3 +11,17 @@ steps:
from_secret: DOCKERUSER from_secret: DOCKERUSER
password: password:
from_secret: DOCKERPASS from_secret: DOCKERPASS
- name: deploy
image: appleboy/drone-ssh
settings:
host: supanadit.com
username: root
port: 22
key:
from_secret: SSH_KEY
script:
- cd /root/Docker/todo
- docker-compose down
- docker-compose pull
- docker-compose up -d