Skip to content

Commit

Permalink
CI: move try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Miller committed Feb 22, 2024
1 parent e714846 commit 370b866
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/vhs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,29 @@ on:
paths:
- "**/*.tape"

defaults:
run:
working-directory: ./examples/deeper

jobs:
vhs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.6
- uses: charmbracelet/vhs-action@v2

- name: Create demo GIF
uses: charmbracelet/vhs-action@v2
env:
TERM: xterm-256color
with:
path: "./examples/deeper/demo.tape"

- name: Move demo.gif to examples/deeper
run: mv demo.gif ./examples/deeper/demo.gif
- uses: stefanzweifel/git-auto-commit-action@v4
run: mv ./demo.gif ./examples/deeper/demo.gif

- name: Commit and push demo.gif
uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
1 change: 1 addition & 0 deletions examples/deeper/demo.tape
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ Sleep 2s
Enter
Sleep 4s


0 comments on commit 370b866

Please sign in to comment.