mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-09-30 08:23:14 +00:00
Add GitHub Actions deploy workflow (#19)
* 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
abdf2aa035
commit
12c9759fe5
1 changed files with 21 additions and 0 deletions
21
.github/workflows/deploy.yaml
vendored
Normal file
21
.github/workflows/deploy.yaml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
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
|
||||
with:
|
||||
python-version: "3.12"
|
||||
cdk-dir: cdk
|
||||
secrets:
|
||||
deploy-role-arn: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}
|
||||
Loading…
Add table
Reference in a new issue