From 868694c5ee5a58bb7d9a14403adec9587f2b1738 Mon Sep 17 00:00:00 2001 From: Kevin Miller Date: Thu, 22 Feb 2024 11:56:42 -0600 Subject: [PATCH] CI: CWD via cli --- .github/workflows/vhs.yml | 10 ++++------ examples/deeper/demo.tape | 1 - 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml index bb18568..3b5c68f 100644 --- a/.github/workflows/vhs.yml +++ b/.github/workflows/vhs.yml @@ -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 @@ -43,5 +43,3 @@ jobs: commit_user_email: actions@github.com commit_author: vhs-action 📼 file_pattern: "*.gif" - - \ No newline at end of file diff --git a/examples/deeper/demo.tape b/examples/deeper/demo.tape index 06b5a08..9e85a15 100644 --- a/examples/deeper/demo.tape +++ b/examples/deeper/demo.tape @@ -39,4 +39,3 @@ Sleep 2s Enter Sleep 4s -