Skip to content

Commit 810af8a

Browse files
committed
Add workflow to generate real demo GIF with VHS
1 parent 1854bb9 commit 810af8a

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Generate Demo GIF
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
demo:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
13+
- name: Setup Python
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: '3.11'
17+
18+
- name: Install package
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install -e .
22+
23+
- name: Render VHS demo
24+
uses: charmbracelet/vhs-action@v2
25+
with:
26+
path: .github/demo.tape
27+
28+
- name: Upload demo artifact
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: demo-gif
32+
path: demo.gif

0 commit comments

Comments
 (0)