Skip to content

GitHub Action to generate RSS feeds from weneedfeed.yml.

Notifications You must be signed in to change notification settings

r7kamura/weneedfeed-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weneedfeed-action

GitHub Action to generate RSS feeds from weneedfeed.yml.

Usage

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

Inputs

base_url

  • Base URL for weneedfeed.
  • required
  • example: "https://user.github.io/repo"

schema_path

  • Path to weneedfeed YAML schema file.
  • default: "weneedfeed.yml"