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
16
.drone.yml
16
.drone.yml
@ -10,4 +10,18 @@ steps:
|
|||||||
username:
|
username:
|
||||||
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