Skip to content

Commit

Permalink
now does daily updates as fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
MavikBow committed Dec 28, 2024
1 parent 5fb2d95 commit efbd22b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/daily-download-scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
python scripts/total_counter.py > output_temp.txt
number=$(cat output_temp.txt)
sed -i "0,/### Total downloads:/s/### Total downloads: [0-9]\+/### Total downloads: $number/" README.md
rm output_temp.txt
- name: Commit change in download_data.json
run: |
Expand All @@ -52,5 +53,6 @@ jobs:
git checkout main
git checkout automation -- download_data.json README.md
git add download_data.json README.md
git commit -m "daily sync download_data from automation branch"
git commit --fixup-amend::/"daily sync of download related data from automation branch"
git rebase --autosquash
git push origin main

0 comments on commit efbd22b

Please sign in to comment.