Skip to content

CI: job working dir via env #21

CI: job working dir via env

CI: job working dir via env #21

Workflow file for this run

name: vhs
env:
EXAMPLE_NAME: deeper
permissions:
contents: write
on:
push:
paths:
- "**/*.tape"
jobs:
vhs:
runs-on: ubuntu-latest
env:
working-directory: ./examples/deeper
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.6
- 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"