Skip to content

Separate prod and dev sites; update actions for node v24#236

Merged
m-mohr merged 1 commit into
mainfrom
prod-dev-action
Apr 9, 2026
Merged

Separate prod and dev sites; update actions for node v24#236
m-mohr merged 1 commit into
mainfrom
prod-dev-action

Conversation

@ahocevar

@ahocevar ahocevar commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

This pull request changes the github actions to produce gh-pages websites using a gh-pages branch, instead of the GitHub Pages action.

To make this work, the repository configuration for Pages needs to be changed to use a branch, and the branch's name is "gh-pages", and the directory is "/ (root)". In order to be able to make this change in the GitHub settings, the gh-pages branch must exist. To create one, something like this will do:

git checkout --orphan gh-pages
git reset --hard
git commit --allow-empty -m "Initial gh-pages"
git push origin gh-pages

When configured, a push to main will trigger a publish to /dev/, and a v*.. tag push will trigger a publish to / (production)

@ahocevar ahocevar requested a review from m-mohr April 9, 2026 21:25
@m-mohr

m-mohr commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

I updated the settings, the branch already exists.

@m-mohr m-mohr merged commit 88a6f57 into main Apr 9, 2026
1 check passed
@m-mohr m-mohr deleted the prod-dev-action branch April 9, 2026 21:43
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