mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 08:13:12 +00:00
20 lines
919 B
YAML
20 lines
919 B
YAML
name: Deploy (SAM)
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/cd-sam.yaml@4a6cbfd362140a68810f0f46d338026863b8e827 # v1.0.10
|
|
with:
|
|
# Required: the CloudFormation stack name (kebab-case, matches repo name).
|
|
# NOTE: this is a literal placeholder on purpose — starter-workflow variables
|
|
# like $default-branch substitute to the BRANCH name ("main"), not the repo name.
|
|
stack-name: REPLACE-ME-stack-name
|
|
# Required: the CloudFormation execution role ARN for this stack — the
|
|
# github-cfn-execution-role in the repo's TARGET account (part of the
|
|
# per-account deploy substrate; the account must have it provisioned
|
|
# before first deploy). Do not point new repos at the management account.
|
|
cfn-role-arn: REPLACE-ME-cfn-role-arn
|
|
secrets:
|
|
deploy-role-arn: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}
|