-
Notifications
You must be signed in to change notification settings - Fork 111
50 lines (41 loc) · 1.17 KB
/
vhs.yml
File metadata and controls
50 lines (41 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: vhs
on:
# push:
# branches-ignore:
# - main
workflow_dispatch:
jobs:
vhs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Set up Python 3.11
run: uv python install 3.11
- name: Install runpod
run: uv sync
# runpod --help
- uses: charmbracelet/vhs-action@v2
with:
path: ".github/tape_collection/cli_help.tape"
# runpod config
- uses: charmbracelet/vhs-action@v2
with:
path: ".github/tape_collection/cli_config.tape"
# runpod ssh
- uses: charmbracelet/vhs-action@v2
with:
path: ".github/tape_collection/cli_ssh.tape"
# Add gifs to commit
- uses: stefanzweifel/git-auto-commit-action@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: Update generated VHS GIF
commit_user_name: vhs-action 📼
commit_user_email: actions@github.com
commit_author: vhs-action 📼 <actions@github.com>
file_pattern: "*.gif"