Skip to content

docs: Add comment

docs: Add comment #8

Workflow file for this run

name: vhs
on:
push:
paths:
- 'docs/tapes/*.tape'
workflow_dispatch:
jobs:
vhs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/[email protected]
with:
run_install: false
- name: Install Node.js
uses: actions/[email protected]
with:
node-version: 20
cache: 'pnpm'
# NOTE: This function does not work, possibly because `pnpm` is running in the vhs sandbox
# - name: Install dependencies
# run: pnpm store add wxt@latest
- uses: charmbracelet/[email protected]
with:
path: 'docs/tapes/demo.tape'
- uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: Update generated VHS GIF
commit_user_name: vhs-action 📼
commit_user_email: [email protected]
commit_author: vhs-action 📼 <[email protected]>
branch: ${{ github.head_ref || github.ref_name }}
# https://github.com/charmbracelet/vhs#output
file_pattern: 'docs/public/*.gif'