diff --git a/scripts/test-template-aws.j2 b/scripts/test-template-aws.j2 index 4efb984..2540d9d 100644 --- a/scripts/test-template-aws.j2 +++ b/scripts/test-template-aws.j2 @@ -68,7 +68,7 @@ steps: depends_on: image-build {% endif %} {% if step.nightly %} - if: build.env("NIGHTLY") && build.env("NIGHTLY") == "1" + if: build.env("NIGHTLY") == "1" {% endif %} agents: {% if step.label == "Documentation Build" %}