diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml index 68d48ca60..993d9daa2 100644 --- a/.github/workflows/vhs.yml +++ b/.github/workflows/vhs.yml @@ -16,17 +16,17 @@ jobs: cache: pip - name: Setup Kapitan run: | - sudo apt-get update && sudo apt install ffmpeg python -m pip install --upgrade pip pip install git+https://github.com/kapicorp/kapitan@init-with-copier - go install github.com/charmbracelet/vhs@latest + - name: Install vhs-action + uses: charmbracelet/vhs-action@v2.1.0 - name: run VHS run: | # shellcheck disable=SC2086 for file in docs/tapes/*.tape do filename="$(basename ${file})" - $HOME/go/bin/vhs "${file}" -o "docs/vhs/gifs/${filename%%.tape}.gif" + vhs "${file}" -o "docs/vhs/gifs/${filename%%.tape}.gif" done - uses: stefanzweifel/git-auto-commit-action@v4