Use this action to fetch feeds from OPML file and build static site with all feeds information
To use it, create a new repository and add opml file name it as feeds.opml
with list of
website rss/atom feeds. Create a github workflow like below to make this fetch data and
put it in contents branch
name: Schedule
on:
schedule:
- cron: '0 * * * *'
jobs:
playground:
runs-on: ubuntu-latest
name: Test
steps:
- name: Run Action
uses: llun/feeds@2.6
After this, enable github page on contents
branch and content should be available on that page
This action can setup to use under domain name and different type of storage, here are the configuration that can set in github action configuration.
customDomain
, telling action to generate the feeds site under custom domain. This is required when generate static site because the action requires this to generateCNAME
file.branch
, branch that this action will generate the static site into. The default value iscontents
. This is a branch that you will need to point the repository static site branch to.storageType
, (Default isfiles
) content storage type, currently supportfiles
andsqlite
.files
is storing all feed contents in JSON tree structure whilesqlite
will store in sqlite database that client will use http chunk to download the content.opmlFile
, OPML file name that store list of sites that you want to generate feed site.
name: Schedule
on:
schedule:
- cron: '0 * * * *'
jobs:
playground:
runs-on: ubuntu-latest
name: Generate Feeds
steps:
- name: Run Action
uses: llun/feeds@2.6
with:
storageType: files
opmlFile: site.opml
branch: public