From 1f6d56302530c12128462c31ae19f056a8730f22 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Wed, 7 Jun 2023 12:52:13 +0300 Subject: [PATCH] can't be run on workflow_run --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3714893..c6289ab 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,12 +1,12 @@ #!/bin/bash -l -set -e +set -euo pipefail # Check if required variables are set : "${CODER_SESSION_TOKEN:?Variable not set or empty}" echo "CODER_SESSION_TOKEN is set." : "${CODER_ACCESS_URL:?Variable not set or empty}" -echo "CODER_ACCESS_URL is set." +echo "CODER_ACCESS_URL: ${CODER_ACCESS_URL}" echo "Pushing ${CODER_TEMPLATE_NAME} to ${CODER_ACCESS_URL}..."