Update Watchlist #197511
This file contains hidden or 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: Update Watchlist | |
| on: | |
| push: | |
| branches: [ master ] | |
| workflow_dispatch: {} | |
| schedule: | |
| # run every 5 minutes. GitHub accepts time > 5 mins. | |
| # https://github.blog/changelog/2019-11-01-github-actions-scheduled-jobs-maximum-frequency-is-changing/ | |
| - cron: "* * * * *" | |
| jobs: | |
| runewatch-updater: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Run a one-line script | |
| run: | | |
| git fetch origin runewatch-updater && git checkout runewatch-updater | |
| bash update_watchlist.sh |