mirror of
https://github.com/tvishia29-alt/FXandRatesDashboard.git
synced 2026-07-27 16:07:44 +00:00
Update update.yml
This commit is contained in:
@@ -1,25 +1,23 @@
|
||||
name: Generate FX Radar Data
|
||||
|
||||
on:
|
||||
# Run 4x per day on weekdays (London market hours)
|
||||
schedule:
|
||||
- cron: '30 7 * * 1-5' # 7:30 AM UTC (pre-London open)
|
||||
- cron: '0 12 * * 1-5' # 12:00 PM UTC (midday)
|
||||
- cron: '0 15 * * 1-5' # 3:00 PM UTC (US open)
|
||||
- cron: '30 20 * * 1-5' # 8:30 PM UTC (post-US close)
|
||||
|
||||
# Also run on manual trigger (click "Run workflow" in GitHub)
|
||||
- cron: '30 7 * * 1-5'
|
||||
- cron: '0 12 * * 1-5'
|
||||
- cron: '0 15 * * 1-5'
|
||||
- cron: '30 20 * * 1-5'
|
||||
workflow_dispatch:
|
||||
|
||||
# Also run when you push changes to generate.py
|
||||
push:
|
||||
paths:
|
||||
- 'generate.py'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
generate:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user