Skip to content

Conversation

@aidanfnv
Copy link
Contributor

@aidanfnv aidanfnv commented May 3, 2025

Fixes #74

This change adds a periodic GitHub Action that pulls the main branch, checks out the latest release of Slang for the slang submodule (instead of using the master branch), and then force pushes the updated main branch and release submodule to the branch "stable", which will be used for the stable branch of the readthedocs site.

readthedocs does not recognize pushes from GitHub Actions bots, so the final step is to post a token to the site's webhook to directly trigger a new build. This change also adds that step to the submodule sync action.

@aidanfnv aidanfnv requested a review from jkwak-work May 3, 2025 00:11
@aidanfnv aidanfnv changed the title Use webhook for readthedocs build triggering in submodule sync Add stable branch syncing and webhook for readthedocs build triggering May 3, 2025
Copy link
Contributor

@jkwak-work jkwak-work 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 to me.

@aidanfnv aidanfnv merged commit c3c62f3 into shader-slang:main May 5, 2025
@aidanfnv aidanfnv deleted the fix/readthedocs-bot-action branch May 10, 2025 00:57
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.

shader-slang.github.io: Set up actions to sync submodules and Slang release tags for readthedocs

2 participants