Skip to content

Refactor GitHub Actions for GitHub Pages deployment - #647

Open
BryceStevenWilley wants to merge 1 commit into
mainfrom
switch-to-pages-thru-actions
Open

BryceStevenWilley wants to merge 1 commit into
mainfrom
switch-to-pages-thru-actions

Conversation

@BryceStevenWilley

Copy link
Copy Markdown
Contributor

Currently pages deployment is broken because we've restricted actions from writing to the repository (general security measure). However, we deployed by making a commit to the gh-pages branch of the repo, which would then be deployed from there.

This change switches to GitHub's more official way of deploying pages through custom actions, using the upload-pages-artifact and deploy-pages action, both of which do not need write permissions to the repo.

Might have to test it a bit to get things right, but will do so if we're in agreement here.

Currently pages deployment is broken because we've restricted actions from writing to the repository (general security measure). However, we deployed by making a commit to the `gh-pages` branch of the repo, which would then be deployed from there.

This change switches to GitHub's more official way of deploying pages through custom actions, using the `upload-pages-artifact` and `deploy-pages` action, both of which do not need write permissions to the repo.

Might have to test it a bit to get things right, but will do so if we're in agreement here.
@BryceStevenWilley
BryceStevenWilley force-pushed the switch-to-pages-thru-actions branch from 6ef76e5 to 6e87601 Compare November 6, 2026 18:49

This branch has not been deployed

No deployments
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.

1 participant