summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-23 22:42:06 -0500
committerGitHub <noreply@github.com>2024-11-23 22:42:06 -0500
commit1c2859c5888c90259421a2a28a4e955f439b851b (patch)
tree8516f415bace4086455892193604ed29d7f5face /.github/workflows
parentd66b17789e0629d4ae4cec00b7d18b7d5d0b14ea (diff)
Try official vhs action
Diffstat (limited to '.github/workflows')
-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'