generated from runelite/example-plugin
-
Notifications
You must be signed in to change notification settings - Fork 22
28 lines (26 loc) · 793 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run a one-line script
run: |
git fetch origin runewatch && git checkout runewatch
bash scripts/update_watchlist.sh
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