Skip to content

Commit

Permalink
CI: vhs permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Miller committed Feb 22, 2024
1 parent 688357d commit 83c0257
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/vhs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: vhs

permissions:
contents: write

on:
push:
paths:
Expand All @@ -10,10 +14,11 @@ jobs:
- uses: actions/checkout@v3
- uses: charmbracelet/vhs-action@v1
with:
path: 'examples/deeper/demo.tape'
path: 'examples/**/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
Expand Down
3 changes: 2 additions & 1 deletion examples/deeper/demo.tape
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Output demo.gif

Require echo

export COLORTERM=truecolor
Set FontSize 28
Set Width 1800
Set Height 900
Expand Down Expand Up @@ -41,3 +41,4 @@ Sleep 2s
Enter
Sleep 4s


0 comments on commit 83c0257

Please sign in to comment.