Skip to content

Update README gifs

Update README gifs #1

Workflow file for this run

name: Update README gifs
on:
workflow_dispatch:
permissions:
contents: write
jobs:
vhs:
runs-on: ubuntu-latest
steps:
- name: Load secrets from 1Password
uses: 1Password/load-secrets-action@v1.3.1
id: OPassword-credentials
with:
export-env: true
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_GHACTIONS_SA_TOKEN }}
GITHUB_TOKEN: op://gh/vhs-actions/credential
- uses: actions/checkout@v3
- uses: charmbracelet/vhs-action@v1
with:
path: 'src/docs/example.tape'
- uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ steps.OPassword-credentials.outputs.GITHUB_TOKEN }}
with:
commit_message: Update generated VHS GIF
branch: main
commit_user_name: vhs-action 📼
commit_user_email: actions@github.com
commit_author: vhs-action 📼 <actions@github.com>
file_pattern: '*.gif'