Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy json schema on build #762

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

m4ttheweric
Copy link
Contributor

Description 📝

This PR sets up a build script that executes the same build command from previous, but then copies the docusaurus JSON schema to the project root.

This is meant to aid in console being able consume this JSON file without needing to checking and build this repo. This will also enable some nice automation based on this file's diffs.

@hasura-bot
Copy link
Contributor

@m4ttheweric Thanks for your PR! I've assigned @robertjdominguez to review it.

Copy link

Deploying v3-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: b3ece53
Status: ✅  Deploy successful!
Preview URL: https://db626ebf.v3-docs-eny.pages.dev
Branch Preview URL: https://copy-json-schema-on-build.v3-docs-eny.pages.dev

View logs

Copy link
Collaborator

@robertjdominguez robertjdominguez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! We'll keep an eye on the CI pipeline to make sure there's no unintended side effects.

@robertjdominguez robertjdominguez merged commit b7b6f7f into main Nov 5, 2024
4 of 5 checks passed
@robertjdominguez robertjdominguez deleted the copy-json-schema-on-build branch November 5, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants