mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 06:33:13 +00:00
Remove push-to-main triggers from deploy.yaml (backend/CDK) and deploy-mobile.yaml (iOS/TestFlight), leaving workflow_dispatch only. CDK is not yet deployed; pausing auto-deploy until ready. Revert this PR to re-enable.
27 lines
745 B
YAML
27 lines
745 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
|
|
# Fix: INF-M8 — pin to SHA for supply chain security (cd-cdk.yaml@main)
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/cd-cdk.yaml@c040bfaa223ac9a671cca9047cffdac45b00f3dc
|
|
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 }}
|