Skip to content

Commit 137c10a

Browse files
committed
actually deploy
1 parent 228aa34 commit 137c10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/std/fwlib/blockTypes/nomad.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ in
7070
render
7171
if ! plan_results=$(nomad plan -force-color "$job_path"); then
7272
echo "$plan_results"
73-
run() { echo "$plan_results" | grep 'nomad job run -check-index'; }
73+
run() { eval "$(echo "$plan_results" | grep 'nomad job run -check-index')"; }
7474
${askUserToProceedSnippet "deploy" "run"}
7575
else
7676
echo "Job hasn't changed since last deployment, nothing to deploy"

0 commit comments

Comments
 (0)