Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
--speed 1.2 \
--idle-time-limit 3

- name: Commit GIF via PR
- name: Commit GIF directly to main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand All @@ -72,13 +72,5 @@ jobs:
echo "GIF unchanged — nothing to commit."
exit 0
fi
BRANCH="chore/update-demo-gif-$(date +%Y%m%d-%H%M%S)"
git checkout -b "$BRANCH"
git commit -m "chore: regenerate demo GIF"
git push origin "$BRANCH"
gh pr create \
--base main \
--head "$BRANCH" \
--title "chore: regenerate demo GIF" \
--body "Auto-generated by the [demo workflow](../actions/workflows/demo.yml). Merges the updated \`docs/demo.gif\` and \`docs/bashful-demo.cast\`." \
--label "documentation" || true
git push origin HEAD:main
Loading