From d82252abd568916ab7838baf70b585a7d999479e Mon Sep 17 00:00:00 2001 From: Xander Sigler Date: Mon, 2 Jan 2023 23:14:03 -0800 Subject: [PATCH] Add deployment to build pipeline --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5a8b11e..a12b793 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,7 +27,17 @@ steps: dockerfile: AdventOfCode/Dockerfile 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: