Skip to content

Commit 1166caa

Browse files
committed
docs: updated demo gif
1 parent 22e591b commit 1166caa

File tree

4 files changed

+35
-3
lines changed

4 files changed

+35
-3
lines changed

.github/workflows/update-gif.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: vhs
2+
on:
3+
push:
4+
paths:
5+
- assets/demo.tape
6+
7+
jobs:
8+
vhs:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: charmbracelet/vhs-action@v1
13+
with:
14+
path: "assets/demo.tape"
15+
- uses: stefanzweifel/git-auto-commit-action@v4
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
commit_message: "docs: updated gif"
20+
branch: main
21+
commit_user_name: vhs-action 📼
22+
commit_user_email: actions@github.com
23+
commit_author: vhs-action 📼 <actions@github.com>
24+
file_pattern: "assets/*.gif"

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
dist/
1+
dist/
2+
assets/*.gif

assets/demo.gif

-3.41 KB
Loading

assets/demo.tape

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
Output demo.gif
1+
Output assets/demo.gif
2+
Require gh
3+
Require ghs
24

35
Set FontSize 46
46
Set Width 2800
5-
Set Height 1200
7+
Set Height 1000
8+
Set WindowBar Rings
9+
10+
Set Margin 20
11+
Set MarginFill "#6B50FF"
12+
Set BorderRadius 10
613

714
Type "gh gist list --filter test.sh"
815
Sleep 700ms

0 commit comments

Comments
 (0)