Skip to content

Commit

Permalink
create update demo workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
koki-develop committed Mar 26, 2023
1 parent 9c0dd82 commit 4b038f3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/update-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: update demo

on:
workflow_dispatch:

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

0 comments on commit 4b038f3

Please sign in to comment.