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

💚 Fix generating docs on publish #441

Merged
merged 1 commit into from
Jan 17, 2024
Merged

💚 Fix generating docs on publish #441

merged 1 commit into from
Jan 17, 2024

Conversation

coyotte508
Copy link
Member

@coyotte508 coyotte508 commented Jan 17, 2024

Fix updating docs on https://huggingface.co/docs/huggingface.js/index

The problem is that when publishing, the update to the package.json file does not trigger the documentation.yml workflow due to safeguards in github (triggering a workflow from another workflow)

So instead, we use repository_dispatch to trigger the doc build. It's better than triggering a doc build every commit :)

cc @mishig25 for visibility

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@coyotte508 coyotte508 merged commit 4ce5f65 into main Jan 17, 2024
2 checks passed
@coyotte508 coyotte508 deleted the fix-updating-docs branch January 17, 2024 14:21
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