Add CI/CD via Drone #1
1 changed files with 12 additions and 0 deletions
12
.drone.yml
12
.drone.yml
|
@ -34,5 +34,17 @@ steps:
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_TAG}
|
- ${DRONE_TAG}
|
||||||
|
- name: deploy
|
||||||
|
image: plugins/ssh
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
from_secret: unraid_host
|
||||||
|
username:
|
||||||
|
from_secret: unraid_username
|
||||||
|
key:
|
||||||
|
from_secret: unraid_ssh_key
|
||||||
|
script:
|
||||||
|
- docker pull docker.atomaka.com/atomaka.com:latest
|
||||||
|
- docker restart atomaka.com
|
||||||
trigger:
|
trigger:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
Loading…
Reference in a new issue