aka rss2hugo
- Create a new repository.
3
- From the Repository template dropdown, select the repository you forked in the first step.
- Edit the list of feeds in
./etc/feeds.opml
. - Refresh your content
make content
- If you're also saving the artwork/media,
- Refresh your static assets
make static
- Refresh your static assets
- Rebuild the static site.
make build
- Publish your site
ls dist/public
There is a Workflow Action that will automatically create pull requests, based on the provided input (feed URL, title, website).
To use the Action, you must enable the following settings on your project settings page, under Actions/General.
- Allow GitHub Actions to create and approve pull requests
- Read and Write Permissions
Then you can use the Subscribe to an RSS Feed Workflow.
Before you can publish to Github Pages, you'll need to update the Pages Settings:
Source : GitHub Actions
Edit lib/options.mk
:
# Set this to the branch where you want to store static content
GIT_BRANCH_STATIC=static
Then run this once in the terminal:
make options_advanced
Edit lib/options.mk
:
# Set this to the remote where you want to store static content
GIT_REMOTE_STATIC=upstream
Then run this once in the terminal:
# URL is the remote repository,
# eg: git@github.com:user/project.git
git remote add upstream URL
git fetch upstream
make options_advanced
Follow the steps above (for separate remotes and branches):
- Edit
lib/options.mk
to update both variables - Run the shell commands from the
Remote
section;- you don't need to run the
Branch
section.
- you don't need to run the
Upload a new episode file.