mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 14:03:11 +00:00
Per the updated handbook convention (engineering-handbook PR #18), reusable-workflow references use full commit SHA pins with a '# main' comment instead of the mutable @main branch ref. Templates now ship pinned so new repos start convention-compliant; Dependabot advances the pin after instantiation. Commented usage examples in ci-static and ci-typescript-frontend use the <full-commit-sha> placeholder form.
17 lines
711 B
YAML
17 lines
711 B
YAML
name: Deploy (SAM)
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/cd-sam.yaml@555d07c3a240689a81668026787eba089df4c975 # main
|
|
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.
|
|
cfn-role-arn: arn:aws:iam::328440206208:role/github-cfn-execution-role
|
|
secrets:
|
|
deploy-role-arn: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}
|