mirror of
https://github.com/Sea-Haven-Industries/apm-wo-analysis.git
synced 2026-09-30 22:53:14 +00:00
Gate the deploy job with if:${{ false }} so merging the Phase 0-5 stack into
main does not fire cdk deploy --all on every merge. Both stacks are already
deployed manually and validated in prod. Re-enable at the start of Phase 6 by
reverting this commit.
27 lines
738 B
YAML
27 lines
738 B
YAML
name: Deploy
|
||
on:
|
||
push:
|
||
branches: [main]
|
||
|
||
permissions:
|
||
id-token: write
|
||
contents: read
|
||
|
||
concurrency:
|
||
group: deploy
|
||
cancel-in-progress: false
|
||
|
||
jobs:
|
||
deploy:
|
||
# TEMPORARILY DISABLED while the Phase 0–5 stack is merged into main, so each
|
||
# merge to main does NOT trigger `cdk deploy --all`. Re-enable when starting
|
||
# Phase 6 by removing this `if:` line (revert this commit). The pipeline +
|
||
# grafana stacks are already deployed (manually) and validated in prod.
|
||
if: ${{ false }}
|
||
uses: Sea-Haven-Industries/.github/.github/workflows/cd-cdk.yaml@main
|
||
with:
|
||
python-version: "3.12"
|
||
region: us-east-1
|
||
cdk-dir: cdk
|
||
secrets:
|
||
deploy-role-arn: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}
|