Skip to content

Commit

Permalink
Try fix rich
Browse files Browse the repository at this point in the history
  • Loading branch information
grst committed Sep 21, 2024
1 parent 696c84e commit 46a1554
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Docs screenshots
on:
workflow_dispatch:
pull_request:

jobs:
rich_codex:
runs-on: ubuntu-latest
steps:
- name: Check out DSO code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"

- name: Install DSO
run: pip install .

- name: Generate terminal images with rich-codex
uses: ewels/rich-codex@v1
with:
clean_img_paths: docs/images/screenshots/*.svg
commit_changes: false
skip_git_checks: true

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Rich codex
file_pattern: "docs/*.png"

0 comments on commit 46a1554

Please sign in to comment.