Skip to content

Fix generation of JSON feed#177

Merged
cookieguru merged 2 commits into
philipsharp:masterfrom
cookieguru:master
May 31, 2026
Merged

Fix generation of JSON feed#177
cookieguru merged 2 commits into
philipsharp:masterfrom
cookieguru:master

Conversation

@cookieguru

Copy link
Copy Markdown
Collaborator

Thank you for contributing to A Field Guide to Elephpants. To speed up approval of your contribution, please review the following checklist:

  • I have read the CONTRIBUTING guide
  • All text and photographs included are licensed under CC:BY-NC-SA or a compatible license.
  • (If Needed) New subspecies have been added to sculpin_site.yml following the naming convention.

This PR contains two commits:

  • Fix generation of JSON feed
    Feed generation likely broke in a709efc
  • Prevent building of site when species is missing in sculpin_site.yml
    Running vendor/bin/sculpin generate will now fail if a new category is added without its species being declared in sculpin_site.yml. This check occurs when running locally and is also added to each PR as a smoke test. Finally, we also validate that the JSON feed was generated, and that the JSON is valid.

In addition, add the site build step to pull request actions as a smoke
test
@cookieguru cookieguru merged commit 117e0c0 into philipsharp:master May 31, 2026
1 check passed
github-actions Bot added a commit that referenced this pull request May 31, 2026
* Fix generation of JSON feed
* Prevent building of site when species is missing in sculpin_site.yml)
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