Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automate update gif #10

Merged
merged 5 commits into from Mar 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/update-demo.yml
@@ -0,0 +1,39 @@
name: update demo

on:
workflow_dispatch:
push:
branches:
- automate-update-gif

env:
CLICOLOR_FORCE: "1"

jobs:
update-demo:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod

- uses: charmbracelet/vhs-action@v1
with:
path: ./tapes/cli-demo.tape
token: ${{ secrets.GITHUB_TOKEN }}
- uses: charmbracelet/vhs-action@v1
with:
path: ./tapes/library-demo.tape
token: ${{ secrets.GITHUB_TOKEN }}

- uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: update docs
body: ${{ github.sha }}
branch: docs/update
branch-suffix: short-commit-hash
6 changes: 0 additions & 6 deletions docs/tapes/update.sh

This file was deleted.

File renamed without changes.
File renamed without changes.