Update from RSS feeds #1177
This file contains 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
# This workflow update the sample.html file as that's what we use to prepare | |
# newsletters. | |
name: Update from RSS feeds | |
on: | |
schedule: | |
# Run every day at UTC 8:04 AM which will be early AM Pacific Time. | |
# This time is chosen so that the previous day's events are removed. | |
- cron: '4 8 * * *' | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- run: npm run build --if-present | |
- run: node index.js | |
env: | |
TOKEN: ${{ secrets.LIBCAL_TOKEN }} | |
- uses: stefanzweifel/git-auto-commit-action@v4 |