Skip to content

Commit

Permalink
ci: Add rich-codex workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
janw committed Jan 28, 2024
1 parent fa84ae5 commit 190a4fb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/rich-codex.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Rich-codex

on:
push:
branches-ignore:
- "main"

jobs:
rich_codex:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry

- name: Set up python environment
uses: actions/setup-python@v5
with:
cache: poetry
python-version: 3.x

- name: Install dependencies
run: poetry install --no-root --sync

- name: Generate terminal images with rich-codex
uses: ewels/rich-codex@v1
with:
commit_changes: "true"
clean_img_paths: ./assets/*.svg

0 comments on commit 190a4fb

Please sign in to comment.