Skip to content

Commit ce63b88

Browse files
committed
Revert changes to nightly fetch script; remove duplicate line
1 parent f61c5df commit ce63b88

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/fetch-ci-nightly-data.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ jobs:
2424
git config --global user.email "<gha@runner>"
2525
git fetch --all
2626
git checkout latest-dashboard-data
27+
# back out whatever data was there
28+
git reset HEAD~1
2729
# pull in the latest changes
2830
git pull
2931
# overwrite the old data
30-
git rm -r --cached data/
31-
rm -rf data/
32+
git rm -r data/
3233
mkdir -p data/
3334
mv tmp-data.json data/job_stats.json
3435
# commit

0 commit comments

Comments
 (0)