We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a623e42 commit c4208c5Copy full SHA for c4208c5
.github/workflows/cdk-deploy.yml
@@ -1,6 +1,12 @@
1
name: Deploy infrastructure
2
on:
3
workflow_dispatch:
4
+ inputs:
5
+ ref:
6
+ description: 'Branch, tag or commit SHA to deploy'
7
+ required: false
8
+ default: 'master'
9
+ type: string
10
11
permissions:
12
id-token: write
@@ -12,6 +18,8 @@ jobs:
18
steps:
13
19
- name: Checkout repository
14
20
uses: actions/checkout@v4
21
+ with:
22
+ ref: ${{ github.event.inputs.ref }}
15
23
16
24
- name: Configure AWS Credentials
17
25
uses: aws-actions/configure-aws-credentials@v4
@@ -36,4 +44,3 @@ jobs:
36
44
- name: CDK Deploy
37
45
working-directory: ./cdk
38
46
run: cdk deploy --require-approval never
39
-
0 commit comments