From 9cdefefbcc1ddce5e33e67b02d02e434ffd5ee4a Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Thu, 17 Dec 2020 17:17:30 -0500 Subject: [PATCH] ci: prospective; figure out why environment URL isn't being set --- .github/workflows/deploy.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a802f26..81aa2db 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -107,16 +107,19 @@ jobs: ENV_NAME= if [[ "${{github.event.inputs.environment}}" == "prod" ]]; then - ENV_URL=https://next.roleypoly.com + ENV_URL="https://next.roleypoly.com" ENV_NAME=Production elif [[ "${{github.event.inputs.environment}}" == "stage" ]]; then - ENV_URL=https://web-stage.roleypoly.com + ENV_URL="https://web-stage.roleypoly.com" ENV_NAME=Staging else - ENV_URL=https://web-${{github.event.inputs.environment}}.roleypoly.com + ENV_URL="https://web-${{github.event.inputs.environment}}.roleypoly.com" ENV_NAME=Preview-${{github.event.inputs.environment}} fi + echo "url=$ENV_URL" + echo "env=$ENV_NAME" + echo ::set-output name=url::$ENV_URL echo ::set-output name=env::$ENV_NAME