RSS workflow #1011
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: RSS workflow | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| pull_blog_rss: | |
| name: Update with latest meetup events | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Get RSS Feed | |
| uses: sarisia/[email protected] | |
| id: feed | |
| continue-on-error: true | |
| with: | |
| url: https://www.meetup.com/Adelaide-dotNET/events/rss/ | |
| max_entry: 2 | |
| file: index.html | |
| timezone: Australia/Adelaide | |
| format: '<li><a href="${guid}">${title}</a></li>' # RSS Feed date is not the date of the event | |
| allow_empty: true | |
| - if: ${{ steps.feed.outputs.changed == true }} | |
| uses: sarisia/actions-commit@master |