GitHub Action to generate RSS feeds from weneedfeed.yml.
This is an example .github/workflows/publish.yml
that generates RSS feeds from weneedfeed.yml
then publish them to GitHub Pages.
name: publish
on:
push:
branches:
- main
schedule:
- cron: "0 0 * * *"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r7kamura/weneedfeed-action@v3
with:
base_url: https://user.github.io/repo
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: output
- Base URL for weneedfeed.
- required
- example:
"https://user.github.io/repo"
- Path to weneedfeed YAML schema file.
- default:
"weneedfeed.yml"