From 370b866c2bd1bea1cf85401188903b6f0de0433f Mon Sep 17 00:00:00 2001 From: Kevin Miller Date: Thu, 22 Feb 2024 11:52:20 -0600 Subject: [PATCH] CI: move try 2 --- .github/workflows/vhs.yml | 16 +++++++++------- examples/deeper/demo.tape | 1 + 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml index 64e7357..bb18568 100644 --- a/.github/workflows/vhs.yml +++ b/.github/workflows/vhs.yml @@ -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: diff --git a/examples/deeper/demo.tape b/examples/deeper/demo.tape index 9e85a15..06b5a08 100644 --- a/examples/deeper/demo.tape +++ b/examples/deeper/demo.tape @@ -39,3 +39,4 @@ Sleep 2s Enter Sleep 4s +