Add deployment to build pipeline
This commit is contained in:
parent
98c56a1769
commit
d82252abd5
10
.drone.yml
10
.drone.yml
@ -28,6 +28,16 @@ steps:
|
||||
depends_on:
|
||||
- test
|
||||
|
||||
- name: deploy-containers
|
||||
image: curlimages/curl
|
||||
commands:
|
||||
- "curl -H \"Authorization: Bearer $WATCHTOWER_TOKEN\" 192.168.68.114:8080/v1/update"
|
||||
environment:
|
||||
WATCHTOWER_TOKEN:
|
||||
from_secret: watchtower_secret
|
||||
depends_on:
|
||||
- build-advent-of-code
|
||||
|
||||
- name: finish
|
||||
image: busybox
|
||||
commands:
|
||||
|
Loading…
x
Reference in New Issue
Block a user