generate-terminal-gifs #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: generate-terminal-gifs | |
| on: | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| run-tapes: | |
| strategy: | |
| matrix: | |
| tapes: | |
| - 'docs/vhs/install.tape' | |
| - 'docs/vhs/basic-usage.tape' | |
| - 'docs/vhs/yaml-config.tape' | |
| - 'docs/vhs/mappings-demo.tape' | |
| - 'docs/vhs/multiple-mappings.tape' | |
| - 'docs/vhs/advanced-features.tape' | |
| - 'docs/vhs/remote-content.tape' | |
| - 'docs/vhs/schema-generation.tape' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - uses: charmbracelet/vhs-action@v2 | |
| with: | |
| path: ${{ matrix.tapes }} | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| commit-message: Update generated VHS GIF | |
| branch: repository-dispatch/update-${{ github.run_id }} | |
| title: Update generated VHS GIF | |
| body: This PR updates the generated VHS GIF files. | |
| base: main | |
| labels: automation |