ScrapeCast CRON Run #7599
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: ScrapeCast CRON Run | |
on: | |
schedule: | |
- cron: '20 6-20 * * 0,1' | |
- cron: '20 7,11,15,20 * * 2-6' | |
workflow_dispatch: {} | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: szenius/set-timezone@v2.0 | |
with: | |
timezoneLinux: "Europe/Budapest" | |
- uses: actions/checkout@v4 | |
- name: Git Config | |
run: | | |
git config user.name "ScrapeCast" | |
git config user.email "example@example.com" | |
- name: Run | |
run: ./bin/scrapecast.exe | |
- name: Publish update | |
run: | | |
git add docs | |
git add data | |
git add bin/scrapecast.exe | |
git commit -m "Publish changes" | |
git push origin master |