Skip to content

Option to skip generating feed if no site content changed #387

@vincerubinetti

Description

@vincerubinetti

Apologies if there's already an issue for this or if I'm misunderstanding.

Currently, this plugin seems to always add the date-time when the site was built, regardless of whether any content of the site changed. This has the unfortunate side effect of making your site build non-deterministic. That is, building your site will always produce a change/diff, even if the input source didn't change.

How this affects me is that in my CI/CD GitHub Actions workflows, I now have to manually check if there were any changes to the input source code, and only build the site if there were. This is to prevent unnecessary build-time, but also to prevent infinite CI/CD loops in some cases.

It'd be great if this plugin handled this automatically. Maybe Jekyll provides a plugin with some sort of information about what source code has changed?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions