Skip to content

Generate new RSS file #22

Generate new RSS file

Generate new RSS file #22

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@v3
- uses: actions/setup-go@v3
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