diff --git a/.github/workflows/rich-codex.yaml b/.github/workflows/rich-codex.yaml new file mode 100644 index 0000000..6739556 --- /dev/null +++ b/.github/workflows/rich-codex.yaml @@ -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