mirror of
https://github.com/supanadit/todo.git
synced 2024-11-22 01:56:21 +00:00
feat: try to deploy
This commit is contained in:
parent
6b93bf8fa0
commit
c9b505f998
14
.drone.yml
14
.drone.yml
@ -11,3 +11,17 @@ steps:
|
||||
from_secret: DOCKERUSER
|
||||
password:
|
||||
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
|
Loading…
Reference in New Issue
Block a user