RSS watcher #714
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
name: RSS watcher | |
# Run every day at 2 AM UTC | |
on: | |
schedule: | |
- cron: "0 2 * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run script | |
id: checker | |
run: ./Get-RoadmapData.ps1 | |
- name: Commit changes | |
run: | | |
cd data | |
git add . | |
git config --global user.name 'Robert Dyjas' | |
git config --global user.email '[email protected]' | |
git commit -am "$(Get-Date -Format 'yyyy-MM-dd') data update" | |
git push |