diff --git a/gallery/script/netlify_build_gallery b/gallery/script/netlify_build_gallery index 4bbad59e25..e96cb9a93a 100755 --- a/gallery/script/netlify_build_gallery +++ b/gallery/script/netlify_build_gallery @@ -30,6 +30,6 @@ if [[ "${PULL_REQUEST}" == "true" ]]; then else createStatus "success" "Build was not requested by PR label" fi -elif [[ "${$INCOMING_HOOK_BODY}" == "NIGHTLY" ]]; then +elif [[ "$INCOMING_HOOK_BODY" == "NIGHTLY" ]]; then gulp build-gallery fi