From 84fa3d0c29557701ae62e5a88aa0c04f38be51f3 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Sun, 12 Feb 2023 00:26:44 -0800 Subject: [PATCH] Force nomad re-deploy --- template.nomad | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template.nomad b/template.nomad index b10e278..5681caf 100644 --- a/template.nomad +++ b/template.nomad @@ -14,6 +14,10 @@ job "site" { task "nginx" { driver = "docker" + + env { + COMMIT_SHA = "${DRONE_COMMIT_SHA}" + } config { image = "nginx:latest"