mirror of
https://github.com/caty21/forex-dashboard.git
synced 2026-07-27 20:37:45 +00:00
416c5348f2
- add permissions: contents: write + persist-credentials to workflow - git rm --cached Market-Signal-Finder (submodule sans .gitmodules) - consolide OIS+STIR en onglet Taux (3 sous-onglets: Courbe/Probabilités/Réunions) - header summary: 1 ligne, fix bug Hold/Hold, taux actuel dans légende chart - cache stale: seuil 48h → 7j pour dev local - stale-while-revalidate: affiche cache immédiatement, refetch en arrière-plan (10s) - redesign tooltip chart Courbe (Actuel/Sem. préc./Δsem. en bps) - YAxis affiche taux complets (3.63% vs .63 tronqué) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
946 B
YAML
34 lines
946 B
YAML
name: Fetch Rate Probabilities
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 * * * *' # toutes les heures
|
|
workflow_dispatch: # déclenchement manuel
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
fetch:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
persist-credentials: true
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
|
|
- name: Fetch rate probabilities (CME FedWatch / Investing.com / InvestingLive)
|
|
run: node .github/scripts/fetch-rate-data.mjs
|
|
|
|
- name: Commit updated data (if changed)
|
|
run: |
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
git add data/rate-probabilities.json
|
|
git diff --staged --quiet || git commit -m "chore: update rate-probabilities data [skip ci]"
|
|
git push
|