Skip to content

Sync Blog RSS

Sync Blog RSS #43

Workflow file for this run

name: Sync Blog RSS
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Fetch and parse RSS
run: npx tsx sync-rss.ts
- name: Commit and Push to Main
uses: EndBug/[email protected]
with:
branch: main
message: 'chore: sync blog RSS and version badges to README'
add: 'profile/README.md'