Add automatic README screenshots (#730)
* add automatic README screenshots * fix kerning
This commit is contained in:
1 parent
df666a5703
commit
62f2fe80f7
10 files changed
+119
-4
No files matched your search
@@ -0,0 +1,31 @@
|
||||
name: Update README screenshots
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
screenshots:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: "3.14"
|
||||
|
||||
- name: Install Playwright and Chromium
|
||||
run: |
|
||||
pip install playwright
|
||||
python -m playwright install --with-deps chromium
|
||||
|
||||
- name: Capture screenshots
|
||||
run: python .github/capture_screenshots.py
|
||||
|
||||
- name: Commit and push
|
||||
uses: stefanzweifel/git-auto-commit-action@v7
|
||||
with:
|
||||
commit_message: Update README screenshots
|
||||
file_pattern: .github/screenshots/*.png
|
||||
Reference in new issue
Block a user