Skip to content

Commit

Permalink
Update environments-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fred-gagnon authored Oct 31, 2023
1 parent 9b164ca commit 5635fb6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/environments-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
environment:
description: 'Environment to deploy to'
type: environment
required: true
default: Production
required: false

jobs:
Build:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 5635fb6

Please sign in to comment.