diff --git a/.github/workflows/docspublish.yml b/.github/workflows/docspublish.yml index cb5d78e751..a84f4f1c8c 100644 --- a/.github/workflows/docspublish.yml +++ b/.github/workflows/docspublish.yml @@ -20,6 +20,8 @@ jobs: run: | uv --version uv sync --frozen --group base --group script + - name: Install VHS + uses: charmbracelet/vhs-action@v2 - name: Update CLI screenshots run: | uv run --no-sync poe doc:screenshots @@ -27,7 +29,7 @@ jobs: run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" - git add docs/images/cli_help + git add docs/images/cli_help docs/images/*.gif if [[ -n "$(git status --porcelain)" ]]; then git commit -m "docs(cli/screenshots): update CLI screenshots" -m "[skip ci]" diff --git a/docs/images/commit.gif b/docs/images/commit.gif new file mode 100644 index 0000000000..db81c35c93 Binary files /dev/null and b/docs/images/commit.gif differ diff --git a/docs/images/commit.tape b/docs/images/commit.tape new file mode 100644 index 0000000000..1976f39405 --- /dev/null +++ b/docs/images/commit.tape @@ -0,0 +1,133 @@ +# VHS documentation https://github.com/charmbracelet/vhs +# +# Output: +# Output .gif Create a GIF output at the given + +# +# Settings: +# Set FontSize Set the font size of the terminal +# Set FontFamily Set the font family of the terminal +# Set Height Set the height of the terminal +# Set Width Set the width of the terminal +# Set LetterSpacing Set the letter spacing of the terminal +# Set LineHeight Set the line height of the terminal +# Set Theme Set the theme of the terminal +# Set Padding Set the padding of the terminal +# Set TypingSpeed