From fb1389ec19491ea531ab8cdf0bc6728e78634c06 Mon Sep 17 00:00:00 2001 From: Himadri Singh Date: Wed, 10 Jan 2024 23:55:01 +0530 Subject: [PATCH] Update .github/workflows/rill-ui.yml --- .github/workflows/rill-ui.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rill-ui.yml b/.github/workflows/rill-ui.yml index 11af34605eb..1b539ddd04b 100644 --- a/.github/workflows/rill-ui.yml +++ b/.github/workflows/rill-ui.yml @@ -48,7 +48,8 @@ jobs: # if push is to release branch, should be deployed to stage # else go to test, workflow_dispatch can choose the environment. echo "GITHUB_EVENT_NAME=$GITHUB_EVENT_NAME" - echo "GITHUB_REF_NAME=$GITHUB_REF_NAME" + echo "GITHUB_REF_NAME=$GITHUB_REF_NAME"' + echo $($GITHUB_REF_NAME =~ "release.*") if [[ ( $GITHUB_EVENT_NAME == "push" && $RELEASE == "true" ) || ( $GITHUB_EVENT_NAME == "workflow_dispatch" && $ENV == "prod" ) ]]; then echo "Deploying to prod..." echo "NETLIFY_SITE_ID=afb26917-7a60-47d9-81dc-c0babbb0d9a9" >> $GITHUB_ENV