Conversation
rongquan1
commented
Jul 9, 2026
Contributor
- deploy-schema.yml: publish schema/ (schemas, examples, W3C VC contexts) to S3 behind CloudFront. DEV auto-deploys on push to develop (DEV_* creds); PROD is manual only via workflow_dispatch from master (AWS_* creds). Bucket and distribution id come from repository secrets. Runs publishSchema.sh, aws s3 sync, then a CloudFront invalidation.
- publishSchema.sh: include the W3C VC versions (certificate-of-awards/2.0, testimonials/2.0, transcripts/3.0) and copy each context.json.
- deploy/cloudfront-rewrite.js + deploy/README.md: CloudFront viewer-request function that rewrites extension-less schema paths (e.g. /transcripts/3.0, including the dot in the version) to /index.json — replaces the Netlify _redirects — plus one-time setup docs.
- Remove public/_redirects (Netlify-only; superseded by the CloudFront function).
- CLAUDE.md: onboarding/context doc — architecture, dev workflow, testing, adding a schema version, hosting, and known gotchas.
- .eslintignore: exclude deploy/ (CloudFront runtime code, not library source).
- deploy-schema.yml: publish schema/ (schemas, examples, W3C VC contexts) to S3 behind CloudFront. DEV auto-deploys on push to develop (DEV_* creds); PROD is manual only via workflow_dispatch from master (AWS_* creds). Bucket and distribution id come from repository secrets. Runs publishSchema.sh, aws s3 sync, then a CloudFront invalidation. - publishSchema.sh: include the W3C VC versions (certificate-of-awards/2.0, testimonials/2.0, transcripts/3.0) and copy each context.json. - deploy/cloudfront-rewrite.js + deploy/README.md: CloudFront viewer-request function that rewrites extension-less schema paths (e.g. /transcripts/3.0, including the dot in the version) to /index.json — replaces the Netlify _redirects — plus one-time setup docs. - Remove public/_redirects (Netlify-only; superseded by the CloudFront function). - CLAUDE.md: onboarding/context doc — architecture, dev workflow, testing, adding a schema version, hosting, and known gotchas. - .eslintignore: exclude deploy/ (CloudFront runtime code, not library source). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
manishdex25
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.