Push your changes. The action runs daily and republishes the
feeds.
Setting up the GitHub Action
The workflow at .github/workflows/feeds.yml
runs daily, on every push to main, and on manual dispatch.
It needs permission to push to a gh-pages branch.
In your fork, go to Settings → Actions →
General.
Under Workflow permissions, select Read and
write permissions and click Save. This lets
the workflow create and update the gh-pages branch.
Go to the Actions tab. If Actions are disabled on
your fork, click I understand my workflows, go ahead and enable
them.
Open the feed-repeat workflow and click
Enable workflow.
Click Run workflow to trigger the first build
manually. The schedule takes over after that.
Wait for the run to finish. It will create a gh-pages
branch in your fork containing the generated Atom files.
Setting up GitHub Pages
After the first successful Action run has created the
gh-pages branch:
Go to Settings → Pages.
Under Build and deployment, set
Source to Deploy from a branch.
Set Branch to gh-pages and the folder
to / (root). Click Save.
Wait a minute, then refresh the Pages settings page. GitHub will
show the public URL,
e.g. https://<you>.github.io/<repo>/.
Your feeds are served at
https://<you>.github.io/<repo>/<outputFilename>.atom.
For example, with the default config:
https://<you>.github.io/feed-repeat/a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6.atom.
If you use a custom domain, add a CNAME file to the repo
root containing your domain (the workflow copies it into
_site/ so it lands at the root of the gh-pages
branch), and configure the domain under Settings → Pages →
Custom domain. Without the CNAME file in the
published branch, GitHub clears the custom-domain setting on every
deploy.
Caveats
Schedule can be delayed. GitHub’s hosted runners don’t guarantee
cron timing. The schedule may run several minutes after the hour.
60-day inactivity disable. GitHub disables scheduled workflows on
repositories with no activity for 60 days. Click Run workflow
periodically to keep your fork active.
First run is slow. The workflow has to download and compile the tool
from scratch. Subsequent runs use the cached build, so they take
seconds.