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

Workflow: Auto-publish all branches to gh-pages #149

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

szuend
Copy link
Collaborator

@szuend szuend commented Nov 5, 2024

This CL changes the auto publish workflow to build all branches (except gh-pages) and put the result into <branch name>/index.html on the gh-pages branch. The main branch is still published to the root index.html though.

This is very convenient for forks, since it's straight-forward to preview PRs.

@szuend szuend requested a review from nicolo-ribaudo November 5, 2024 10:30
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

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

I was looking for a solution that avoids accumulating folders in the gh-pages branch, but it turns out that it's not worth the complexity.

I changed this repo's settings to prevent creation of new branches, so that we are forced to always open PRs from our own forks and thus get the preview in our own repos.

@nicolo-ribaudo nicolo-ribaudo merged commit 6521be3 into tc39:main Dec 9, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Dec 9, 2024
SHA: 6521be3
Reason: push, by nicolo-ribaudo

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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