Skip to content

CI: CWD via cli

CI: CWD via cli #20

Workflow file for this run

name: vhs
env:
EXAMPLE_NAME: deeper
permissions:
contents: write
on:
push:
paths:
- "**/*.tape"
jobs:
vhs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.6
- name: CWD to examples/deeper
run: cd ./examples/deeper
- name: Create demo GIF
uses: charmbracelet/vhs-action@v2
env:
TERM: xterm-256color
with:
path: "demo.tape"
- name: Commit and push demo.gif
uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: Generated deeper demo VHS GIF
branch: main
commit_user_name: vhs-action 📼
commit_user_email: [email protected]
commit_author: vhs-action 📼 <[email protected]>
file_pattern: "*.gif"