mirror of
https://github.com/supanadit/todo.git
synced 2024-11-22 10:06:22 +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
|
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
|
Loading…
Reference in New Issue
Block a user