Skip to content

Commit

Permalink
CI: working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Miller committed Feb 22, 2024
1 parent 85fe29e commit 7227db1
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 23 deletions.
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Set default behaviour to automatically normalize line endings.
* text=auto

# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf

# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf

###############################
# Git Large File System (LFS) #
###############################

*.gif filter=lfs diff=lfs merge=lfs -text
25 changes: 5 additions & 20 deletions .github/workflows/vhs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,17 @@ jobs:
env:
TERM: xterm-256color
with:
path: "examples/deeper/demo.tape"
working-directory: "./examples/deeper/"
path: "demo.tape"
- uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
working-directory: "./examples/deeper/"
commit_message: Generated `deeper` demo VHS GIF
branch: main
commit_user_name: vhs-action 📼
commit_user_email: [email protected]
commit_author: vhs-action 📼 <[email protected]>
# file_pattern: "*.gif"
# vhs-simple:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: charmbracelet/vhs-action@v1
# with:
# path: 'examples/simple/demo.tape'
# - uses: stefanzweifel/git-auto-commit-action@v4
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TERM: xterm-256color
# with:
# commit_message: Update generated VHS GIF
# branch: main
# commit_user_name: vhs-action 📼
# commit_user_email: [email protected]
# commit_author: vhs-action 📼 <[email protected]>
# file_pattern: '*.gif'
file_pattern: "*.gif"

Binary file removed demo.gif
Binary file not shown.
1 change: 0 additions & 1 deletion examples/deeper/.gitattributes

This file was deleted.

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 @@ Enter
Sleep 2s
Enter
Sleep 4s

1 change: 0 additions & 1 deletion examples/simple/.gitattributes

This file was deleted.

0 comments on commit 7227db1

Please sign in to comment.