Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
koki-develop committed Mar 30, 2023
1 parent 09f0055 commit f1459fb
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/update-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,21 @@ jobs:
- 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 }}

- name: update cli gif
run: |
for t in ./tapes/cli/*; do
vhs < $t
done
- name: update library gif
run: |
for t in ./tapes/library/*; do
vhs < $t
done
- uses: peter-evans/create-pull-request@v4
with:
Expand Down

0 comments on commit f1459fb

Please sign in to comment.