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

ci: add action to sync v3 spec-json-schema updates with website #562

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

AceTheCreator
Copy link
Member

With the integration of the Schyma package, we can now visualize the spec-json-schema file on the AsyncAPI specification explorer for educational purposes. This action ensures that the website automatically receives updated changes whenever the v3 JSON schema file in this repository is modified.

cc @derberg


- name: Copy version 3 Schema File
run: |
cp -r schemas/3.0.0-without-\$id.json website/config
Copy link
Member

Choose a reason for hiding this comment

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

Why are you copying recursively here? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for pointing this out. I'll get rid of it, i was using it when i was exploring copying other versions too, which i found wasn't neccessary for this particular usecase.

@AceTheCreator
Copy link
Member Author

@fmvilas, removed the -r flag

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.

2 participants