From 1b3f10cf62dd18b591068b05ea6c4ea36ac69a6c Mon Sep 17 00:00:00 2001 From: Alessandro De Maria Date: Sun, 1 Sep 2024 20:41:07 +0000 Subject: [PATCH] Change workflow --- .github/workflows/vhs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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