Skip to content

docs: update README

docs: update README #4

Workflow file for this run

name: generate-markdown-files
on:
push:
branches:
- master
schedule:
- cron: '0 3 * * 1' # Every Monday at 03:00 UTC
workflow_dispatch:
jobs:
generate-markdown:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the repository
- name: Check out repository
uses: actions/checkout@v4
# Step 2: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
# Step 3: Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install Pillow
# Step 4: Run the script
- name: Generate markdown files from game XMLs
run: python generate_from_xml.py --update
# Step 5: Push changes back to the repository
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add docs/
git commit -m "Update generated markdown files" || echo "No changes to commit"
git push origin master