mirror of
https://github.com/tvishia29-alt/FXandRatesDashboard.git
synced 2026-08-26 05:58:05 +00:00
Modify update workflow to rebase before push
Change commit strategy to include pull before push.
This commit is contained in:
@@ -42,5 +42,7 @@ jobs:
|
|||||||
git config user.name "FX Radar Bot"
|
git config user.name "FX Radar Bot"
|
||||||
git config user.email "bot@fxradar.app"
|
git config user.email "bot@fxradar.app"
|
||||||
git add data.json
|
git add data.json
|
||||||
git diff --staged --quiet || git commit -m "📊 Update market data $(date -u '+%Y-%m-%d %H:%M UTC')"
|
git diff --staged --quiet && exit 0
|
||||||
git push
|
git commit -m "📊 Update market data $(date -u '+%Y-%m-%d %H:%M UTC')"
|
||||||
|
git pull --rebase origin main
|
||||||
|
git push origin main
|
||||||
|
|||||||
Reference in New Issue
Block a user