diff --git a/.github/workflows/daily-download-scraper.yml b/.github/workflows/daily-download-scraper.yml index 6d4c30c..7335c8b 100644 --- a/.github/workflows/daily-download-scraper.yml +++ b/.github/workflows/daily-download-scraper.yml @@ -32,18 +32,18 @@ jobs: max_attempts: 4 command: python scripts/scraper.py - - name: Change README - run: | - 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: Change README +# run: | +# 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: | git config --global user.name 'github-actions' git config --global user.email 'github-actions@github.com' - git add download_data.json README.md + git add download_data.json # README.md git commit -m "daily data update" git push origin automation @@ -51,8 +51,8 @@ jobs: run: | git fetch origin git checkout main - git checkout automation -- download_data.json README.md - git add download_data.json README.md + git checkout automation -- download_data.json # README.md + git add download_data.json # README.md - name: Commit or amend run: | diff --git a/README.md b/README.md index 32d4e31..b3d20cd 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,12 @@ -# DoBetterConfig +# DoBetterConfig [![Downloads](https://img.shields.io/github/downloads/MavikBow/DoBetterConfig/total?color=4c1)](https://github.com/MavikBow/DoBetterConfig/releases) ![screenshot\_v111.png](/screenshot_v111.png) This is a supplementary program for the 2004 video game Cave Story, that allows greater flexibility with control settings. -### Total downloads: 537 - ## Table of contents -- [DoBetterConfig](#dobetterconfig) +- [DoBetterConfig](#dobetterconfig----) - [Table of contents](#table-of-contents) - [What is this app?](#what-is-this-app) - [How to use the app?](#how-to-use-the-app)