summaryrefslogtreecommitdiff
path: root/.github/workflows/vhs.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/vhs.yml')
-rw-r--r--.github/workflows/vhs.yml23
1 files changed, 23 insertions, 0 deletions
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 📼 <actions@github.com>
+ file_pattern: '*.gif'