mirror of
https://github.com/Sea-Haven-Industries/seahaven-site.git
synced 2026-10-04 18:21:58 +00:00
Some checks failed
Deploy / Deploy site to prod (push) Has been cancelled
* chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates Bumps the npm_and_yarn group with 2 updates in the / directory: [brace-expansion](https://github.com/juliangruber/brace-expansion) and [markdown-it](https://github.com/markdown-it/markdown-it). Updates `brace-expansion` from 1.1.18 to 1.1.21 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.18...v1.1.21) Updates `markdown-it` from 14.2.0 to 14.3.2 - [Changelog](https://github.com/markdown-it/markdown-it/blob/14.3.2/CHANGELOG.md) - [Commits](https://github.com/markdown-it/markdown-it/compare/14.2.0...14.3.2) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 1.1.21 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: markdown-it dependency-version: 14.3.2 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update GitHub Actions workflows to v1.0.21 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam Moussa <adam@seahavenind.com>
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
name: Deploy
|
|
|
|
# Static-site CD. The org reusable builds _site/, syncs the bucket root, and
|
|
# invalidates CloudFront. Terraform owns the bucket and the distribution.
|
|
# Nothing here creates an HCP run.
|
|
#
|
|
# push to main -> prod
|
|
# weekday cron -> prod (Paychex listings, no commit)
|
|
# workflow_dispatch -> prod, the main commit only
|
|
#
|
|
# Vercel previews branches other than main.
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths-ignore:
|
|
# deploy.yaml is included so this transition commit does not start a
|
|
# prod deploy before the exec role can write the SSM contract.
|
|
- "terraform/**"
|
|
- "**/*.md"
|
|
- ".github/workflows/ci.yaml"
|
|
- ".github/workflows/deploy.yaml"
|
|
- ".github/workflows/labeler.yml"
|
|
- ".github/workflows/dependency-review.yml"
|
|
schedule:
|
|
# Weekday morning US Eastern (13:00 UTC). Rebuilds listings from Paychex
|
|
# without a commit. A failed feed fetch aborts before the S3 sync.
|
|
- cron: "0 13 * * 1-5"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
deploy-prod:
|
|
name: Deploy site to prod
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/cd-hcp-static.yaml@47185fa602dffddb8297db5f3525d7c9bc05d7cd # v1.0.21
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
secrets: inherit
|
|
with:
|
|
environment: prod
|
|
ssm-prefix: /seahaven-site/deploy
|
|
output-dir: _site
|
|
required-paths: _site/index.html,_site/contact/index.html,_site/404.html
|
|
min-file-count: 40
|
|
ship-gate: true
|