Skip to content

Generate new RSS file #1622

Generate new RSS file

Generate new RSS file #1622

Workflow file for this run

name: Generate new RSS file
on:
schedule:
- cron: '0 0/6 * * *'
workflow_dispatch:
jobs:
generate-rss:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
- run: go run main.go
- name: Add new RSS file
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git commit -am "generate RSS file"
git push