From 5635fb6171ba876b0af56f317f8a9228ab06fbf7 Mon Sep 17 00:00:00 2001 From: fred-gagnon <61014947+fred-gagnon@users.noreply.github.com> Date: Tue, 31 Oct 2023 11:06:56 -0400 Subject: [PATCH] Update environments-workflow.yml --- .github/workflows/environments-workflow.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/environments-workflow.yml b/.github/workflows/environments-workflow.yml index 12d80b8..b5422cd 100644 --- a/.github/workflows/environments-workflow.yml +++ b/.github/workflows/environments-workflow.yml @@ -6,7 +6,8 @@ on: environment: description: 'Environment to deploy to' type: environment - required: true + default: Production + required: false jobs: Build: @@ -66,8 +67,10 @@ jobs: steps: - name: Step 1 shell: bash + env: + URL: ${{ job.environment.url }} run: | - echo "Step 1 deploying to '${{ job.environment.url }}' ..." + echo "Step 1 deploying to '${URL}' ..." - name: Step 2 shell: bash run: |