Skip to content

Commit

Permalink
Update .github/workflows/rill-ui.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
himadrisingh authored Jan 10, 2024
1 parent 6e24273 commit fb1389e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rill-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb1389e

Please sign in to comment.