Skip to content

Commit

Permalink
Update rss-distrowatch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit authored Oct 30, 2023
1 parent c27cb1b commit 9fce451
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/rss-distrowatch.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
name: "Daily - Distrowatch"
name: "Distrowatch - Output to JSON"
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
inputs:
feed_url:
description: "URL of RSS feed to be read"
type: string
required: true
default: 'https://distrowatch.com/news/dwd.xml'
script_output:
description: "Output of the script (e.g. issue, json, pull_request)"
type: string
required: true
default: 'json'
jobs:
github_blog_daily_parse:
manual_rss_feed_execution:
runs-on: ubuntu-latest
steps:
- uses: chrisreddington/rss-parser-action@main
with:
branch_prefix: 'rss'
extension: ''
feed_url: 'https://distrowatch.com/news/dwd.xml'
script_output: 'pull_request'
subfolder: 'tweets'
feed_url: ${{ inputs.feed_url }}
script_output: ${{ inputs.script_output }}

0 comments on commit 9fce451

Please sign in to comment.