mirror of
https://github.com/tiennm99/loldle.git
synced 2026-09-12 08:18:46 +00:00
feat(docs): regenerate CHAMPIONS.md from champions.json in scraper
- Add saveMarkdown in markdown.go rendering the Loldle classic-mode column table (Champion | Gender | Genre | Range | Resource | Region | Lane | Year). - main.go writes CHAMPIONS.md after champions.json on every scrape. - update-champions.yml stages CHAMPIONS.md alongside champions.json so CI commits both in lockstep. - alt text on tile images now uses champion display name (e.g. Bel'Veth) instead of the ID slug.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ jobs:
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add champions.json
|
||||
git add champions.json CHAMPIONS.md
|
||||
if git diff --cached --quiet; then
|
||||
echo "No changes to commit"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user