proposal-system/.github/workflows/deploy.yaml
Adam Moussa 028e2e14f8
ci: pin reusable-workflow refs to commit SHA (#259)
Pins all eight central reusable-workflow refs (ci, deploy, deploy-mobile,
labeler) to the current .github main tip per the SHA-pin convention
(engineering-handbook PR #18). Dependabot github-actions updates advance
the pins weekly.
2026-07-27 15:44:52 -04:00

26 lines
674 B
YAML

name: Deploy
# Auto-deploy on push to main disabled for now; manual trigger only.
on:
workflow_dispatch:
concurrency:
group: deploy-backend
cancel-in-progress: false
permissions:
id-token: write
contents: read
jobs:
deploy:
name: Deploy to AWS
uses: Sea-Haven-Industries/.github/.github/workflows/cd-cdk.yaml@786dcfe8d95af8e640a76b09f30d2c0e86792157 # main
with:
cdk-dir: infra
dotnet-version: "8.0.x"
dotnet-publish-project: api/src/ProposalSystem.Api/ProposalSystem.Api.csproj
python-version: "3.12"
post-deploy-script: scripts/post-deploy.sh
secrets:
deploy-role-arn: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}