Skip to content

set up github pages to move from netlify - #270

Merged
LauraLangdon merged 6 commits into
mainfrom
switch-from-netlify
Apr 16, 2026
Merged

set up github pages to move from netlify#270
LauraLangdon merged 6 commits into
mainfrom
switch-from-netlify

Conversation

@LauraLangdon

Copy link
Copy Markdown
Contributor

We're switching from Netlify to GitHub Pages for deploying the website, partly because Netlify is overkill for our use case and also so that we can have more than one person do more of the site admin without having to find a way to securely share credentials.

NB: Ive added a GitHub Action to do deploy previews similar to Netlify's, but it can't make previews for forks. I'll need to make sure people like @virginiascarlett get privileges that don't require forking.

I've also added linkinator (checks for broken links) and pa11y (accessibility auditor) to the build test. I'd previously added them as dependencies, but realized today that it's still possible to push changes without running them so now that leak is plugged. The README is updated accordingly.

@netlify

netlify Bot commented Apr 2, 2026

Copy link
Copy Markdown

Deploy Preview for ucospo-net ready!

Name Link
🔨 Latest commit b5764e2
🔍 Latest deploy log https://app.netlify.com/projects/ucospo-net/deploys/69e11bb063194000080f6cef
😎 Deploy Preview https://deploy-preview-270--ucospo-net.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@LauraLangdon
LauraLangdon force-pushed the switch-from-netlify branch from 998b159 to 7a33c07 Compare April 2, 2026 19:49
@github-actions

github-actions Bot commented Apr 2, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-16 17:28 UTC

@LauraLangdon
LauraLangdon marked this pull request as ready for review April 2, 2026 20:03
@jarrodmillman

jarrodmillman commented Apr 4, 2026

Copy link
Copy Markdown
Member

We should also rename this repo UC-OSPO-Network.github.io. Or maybe just create a new repo named UC-OSPO-Network.github.io and push to its on merge to main.

@jarrodmillman

jarrodmillman commented Apr 4, 2026

Copy link
Copy Markdown
Member

Should the github pages preview work?

I normally use circleci to build the website previews and then using https://github.com/scientific-python/circleci-artifacts-redirector-action.

@jarrodmillman

Copy link
Copy Markdown
Member

I would also move most of the build content to the Makefile and call make from the GH action. That way it is easy to build and test by hand if you want.

@LauraLangdon
LauraLangdon force-pushed the switch-from-netlify branch from f5174ed to 01f32ca Compare April 8, 2026 23:27
@LauraLangdon

Copy link
Copy Markdown
Contributor Author

We should also rename this repo UC-OSPO-Network.github.io. Or maybe just create a new repo named UC-OSPO-Network.github.io and push to its on merge to main.

Makes sense! I'll do that after this one merges.

@LauraLangdon

Copy link
Copy Markdown
Contributor Author

Should the github pages preview work?

I normally use circleci to build the website previews and then using https://github.com/scientific-python/circleci-artifacts-redirector-action.

The GH Pages preview is working:rossjrw/pr-preview-action pushes previews to gh-pages under /pr-preview/pr-{N}/ and posts a comment with the link. If you'd prefer CircleCI I'm happy to switch, but staying on GH Actions avoids adding another CI service.

@LauraLangdon

Copy link
Copy Markdown
Contributor Author

I would also move most of the build content to the Makefile and call make from the GH action. That way it is easy to build and test by hand if you want.

Done!

@jarrodmillman jarrodmillman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's just merge this and fix things later if needed. Thanks!

Comment thread .github/workflows/deploy.yml
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
@LauraLangdon

Copy link
Copy Markdown
Contributor Author

pre-commit.ci autofix

Comment thread .github/workflows/deploy.yml Outdated
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
@LauraLangdon
LauraLangdon merged commit 7eab397 into main Apr 16, 2026
7 checks passed
@LauraLangdon
LauraLangdon deleted the switch-from-netlify branch April 16, 2026 17:28
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