specify the hours instead of an interval so that the posting is staggered
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: DogFacts
|
||||
on:
|
||||
schedule:
|
||||
- cron: '13 */4 * * *'
|
||||
- cron: '13 4,8,12,16,20,00 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
python-version: "3.13"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python3 -m pip install --upgrade pip
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
- name: Run dog_facts.py
|
||||
run:
|
||||
|
Reference in New Issue
Block a user