Fix case sensitivity in README file references for consistency
This commit is contained in:
@@ -23,5 +23,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --local user.email "action@gitea.com"
|
git config --local user.email "action@gitea.com"
|
||||||
git config --local user.name "Gitea Action"
|
git config --local user.name "Gitea Action"
|
||||||
git add README.MD
|
git add README.md
|
||||||
git diff --quiet && git diff --staged --quiet || (git commit -m "Update profile stats" && git push)
|
git diff --quiet && git diff --staged --quiet || (git commit -m "Update profile stats" && git push)
|
||||||
@@ -7,7 +7,7 @@ def generate_stats():
|
|||||||
return f"✅ My Gitea instance is alive and well!\n🕒 Last update: {now}."
|
return f"✅ My Gitea instance is alive and well!\n🕒 Last update: {now}."
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
readme_path = "README.MD"
|
readme_path = "README.md"
|
||||||
|
|
||||||
if not os.path.exists(readme_path):
|
if not os.path.exists(readme_path):
|
||||||
print(f"{readme_path} not found!")
|
print(f"{readme_path} not found!")
|
||||||
|
|||||||
Reference in New Issue
Block a user