From 7c6f746820b773050ee992688b6c65b6d40ff126 Mon Sep 17 00:00:00 2001 From: ddingmin Date: Fri, 3 Nov 2023 18:41:15 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_readme_til.yaml | 2 +- update_readme.py => script/update_readme.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename update_readme.py => script/update_readme.py (96%) diff --git a/.github/workflows/update_readme_til.yaml b/.github/workflows/update_readme_til.yaml index d93ec88..d6cc75e 100644 --- a/.github/workflows/update_readme_til.yaml +++ b/.github/workflows/update_readme_til.yaml @@ -23,7 +23,7 @@ jobs: python -m pip install --upgrade pip - name: Run Update Python Script run: | - python script/count_files.py + python script/update_readme.py - name: Run Update README.md File run: | git add . diff --git a/update_readme.py b/script/update_readme.py similarity index 96% rename from update_readme.py rename to script/update_readme.py index 2e414b9..93ce160 100644 --- a/update_readme.py +++ b/script/update_readme.py @@ -58,5 +58,5 @@ def split_extension(file_name): print(f"Create README\n{readme}") -with open("./README.md", 'w', encoding='utf-8') as f: +with open("../README.md", 'w', encoding='utf-8') as f: f.write(readme)