Skip to content

Commit 457b2db

Browse files
refactor: add deployer role to workflow_call
1 parent a756367 commit 457b2db

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/deploy-prod.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ jobs:
1212
permissions:
1313
id-token: write
1414
contents: read
15+
secrets:
16+
AWS_DEPLOYER_ROLE: ${{ secrets.AWS_DEPLOYER_ROLE }}
1517
with:
1618
ENVIRONMENT: prod

.github/workflows/serverless-deploy.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ on:
2525
required: false
2626
default: false
2727
type: boolean
28+
secrets:
29+
AWS_DEPLOYER_ROLE:
30+
description: 'AWS IAM Role to assume'
31+
required: true
2832
outputs:
2933
SERVICE_URL:
3034
description: 'API Gateway endpoints'

0 commit comments

Comments
 (0)