Skip to content

Fix Netlify PR deploy previews and add CI build workflow#187

Merged
mmcky merged 1 commit intomainfrom
ci/netlify-preview-and-build-workflow
Feb 20, 2026
Merged

Fix Netlify PR deploy previews and add CI build workflow#187
mmcky merged 1 commit intomainfrom
ci/netlify-preview-and-build-workflow

Conversation

@mmcky
Copy link
Collaborator

@mmcky mmcky commented Feb 20, 2026

Fix Netlify PR Deploy Previews and Add CI Build Workflow

Netlify is connected to the repo (site grand-swan-ca5201) for PR deploy previews, but builds have been failing because there is no build configuration telling Netlify how to build the Jekyll site.

Changes

netlify.toml — Configures Netlify to build the Jekyll site correctly:

  • Sets Ruby 3.2 and bundle path
  • Runs bundle install && bundle exec jekyll build
  • Publishes the _site/ directory
  • Includes deploy-preview context settings

.github/workflows/build.yml — Adds a lightweight GitHub Actions CI check on PRs:

  • Runs jekyll build using ruby/setup-ruby with bundler caching
  • Validates the site builds successfully before merge

Notes

  • Production hosting remains on GitHub Pages (unchanged)
  • Netlify is used only for PR deploy previews

- netlify.toml: configures Ruby 3.2, bundle install, and jekyll build
  so Netlify can generate deploy previews for PRs
- .github/workflows/build.yml: lightweight Jekyll build check on PRs
  using ruby/setup-ruby with bundler caching
@netlify
Copy link

netlify bot commented Feb 20, 2026

Deploy Preview for grand-swan-ca5201 ready!

Name Link
🔨 Latest commit 8e5d7bf
🔍 Latest deploy log https://app.netlify.com/projects/grand-swan-ca5201/deploys/6997ea0b5e6b0c0008b6b214
😎 Deploy Preview https://deploy-preview-187--grand-swan-ca5201.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.

@mmcky
Copy link
Collaborator Author

mmcky commented Feb 20, 2026

@jlperla I have now fixed preview builds so I'll get your review on news items before I push to main next time. Let me know if you want any changes in the Julia news items. Happy to help.

@mmcky mmcky merged commit 04fa98c into main Feb 20, 2026
5 checks passed
@mmcky mmcky deleted the ci/netlify-preview-and-build-workflow branch February 20, 2026 05:04
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