Add GitHub Actions deploy workflow (#28)
* Add GitHub Actions deploy workflow (OIDC) * Add permissions block for OIDC token exchange * Add concurrency control to prevent parallel deploys
This commit is contained in:
parent
bcd01d9918
commit
78ecba68ae
1 changed files with 18 additions and 0 deletions
18
.github/workflows/deploy.yaml
vendored
Normal file
18
.github/workflows/deploy.yaml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: Deploy
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: deploy
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/cd-cdk.yaml@main
|
||||
secrets:
|
||||
deploy-role-arn: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}
|
||||
Reference in a new issue