Skip to content

Commit

Permalink
Merge pull request #10 from koki-develop/automate-update-gif
Browse files Browse the repository at this point in the history
  • Loading branch information
koki-develop committed Mar 26, 2023
2 parents 5978e69 + eea0d0d commit 928fe76
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 6 deletions.
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.

0 comments on commit 928fe76

Please sign in to comment.