From 1c2859c5888c90259421a2a28a4e955f439b851b Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 23 Nov 2024 22:42:06 -0500 Subject: Try official vhs action --- .github/workflows/vhs.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/vhs.yml (limited to '.github') diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml new file mode 100644 index 0000000..3359d38 --- /dev/null +++ b/.github/workflows/vhs.yml @@ -0,0 +1,23 @@ +name: vhs +on: + push: + paths: + - vhs.tape +jobs: + vhs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: charmbracelet/vhs-action@v1 + with: + path: 'assets/demo.tape' + - uses: stefanzweifel/git-auto-commit-action@v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + commit_message: Update generated VHS GIF + branch: main + commit_user_name: vhs-action 📼 + commit_user_email: actions@github.com + commit_author: vhs-action 📼 + file_pattern: '*.gif' -- cgit v1.2.3