mirror of
https://github.com/hanzoai/community.git
synced 2026-10-30 14:39:19 +00:00
Testing: canary runs on this repo pinned to the hanzoai/ci commits now tagged v2.1.16 published and verified the site. Risk: CI configuration only; the site content is unchanged. How to revert: pin .github/workflows/cicd.yml back to the previous tag.
20 lines
620 B
YAML
20 lines
620 B
YAML
# Read by hanzoai/ci (.github/workflows/cicd.yml). A Next static export: each
|
|
# push to main type-checks, builds out/ and publishes it to the Sites plane as
|
|
# project `hanzo-community`, the project whose key the page sends with.
|
|
test:
|
|
- name: typecheck
|
|
run: pnpm install --frozen-lockfile && pnpm typecheck && pnpm build
|
|
|
|
site:
|
|
slug: hanzo-community
|
|
dir: out
|
|
# No build: the gate builds the export, and hanzoai/ci carries the bytes it
|
|
# tested to the publish job instead of that job installing and building again.
|
|
on: [main]
|
|
|
|
# The KMS tenant that holds the Sites plane deploy token.
|
|
kms:
|
|
org: hanzo
|
|
|
|
|