Skip to content

Commit

Permalink
CI: CWD via cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Miller committed Feb 22, 2024
1 parent f78403a commit 868694c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/vhs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
with:
go-version: 1.21.6

- name: CWD to examples/deeper
run: cd ./examples/deeper

- 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
path: "demo.tape"

- name: Commit and push demo.gif
uses: stefanzweifel/git-auto-commit-action@v4
Expand All @@ -43,5 +43,3 @@ jobs:
commit_user_email: [email protected]
commit_author: vhs-action 📼 <[email protected]>
file_pattern: "*.gif"


1 change: 0 additions & 1 deletion examples/deeper/demo.tape
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ Sleep 2s
Enter
Sleep 4s


0 comments on commit 868694c

Please sign in to comment.