Skip to content

Commit

Permalink
Add environment workflow input
Browse files Browse the repository at this point in the history
  • Loading branch information
m-houston committed May 21, 2024
1 parent e0dc568 commit faa6cad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cicd-3-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
description: "This is the tag that is going to be deployed"
required: true
default: "latest"
environment:
description: "The environment you want to deploy to"
type: environment
required: true

jobs:
metadata:
Expand Down Expand Up @@ -54,6 +58,9 @@ jobs:
runs-on: ubuntu-latest
needs: [metadata]
timeout-minutes: 10
permissions:
id-token: write
environment: ${{ env.environment }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit faa6cad

Please sign in to comment.