Skip to content

Commit

Permalink
actually deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayeu committed Oct 6, 2024
1 parent 228aa34 commit 137c10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/std/fwlib/blockTypes/nomad.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ in
render
if ! plan_results=$(nomad plan -force-color "$job_path"); then
echo "$plan_results"
run() { echo "$plan_results" | grep 'nomad job run -check-index'; }
run() { eval "$(echo "$plan_results" | grep 'nomad job run -check-index')"; }
${askUserToProceedSnippet "deploy" "run"}
else
echo "Job hasn't changed since last deployment, nothing to deploy"
Expand Down

0 comments on commit 137c10a

Please sign in to comment.