Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Demo GIF with VHS #898

Merged
merged 116 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
0a2972a
update demo gif
osterman Dec 19, 2023
9a0bd33
add vhs action
osterman Dec 19, 2023
04ca911
add vhs action
osterman Dec 19, 2023
d71002b
update vhs
osterman Dec 19, 2023
ed920f9
update vhs
osterman Dec 19, 2023
1ed2a8e
update vhs
osterman Dec 19, 2023
77faef1
use default branch
osterman Dec 19, 2023
522bd4e
update trigger
osterman Dec 19, 2023
c29365a
push to head ref
osterman Dec 19, 2023
6606d3e
Update generated VHS GIF
actions-user Dec 19, 2023
7e94219
set up docker
osterman Dec 19, 2023
bb05a82
chore: update demo gif
actions-user Dec 19, 2023
812a351
use bash
osterman Dec 19, 2023
1ac6ce2
chore: update demo gif
actions-user Dec 19, 2023
36bc5bf
pre-build image
osterman Dec 19, 2023
416fb75
chore: update demo gif
actions-user Dec 19, 2023
950574f
set styling
osterman Dec 20, 2023
1566e8c
chore: update demo gif
actions-user Dec 20, 2023
40164e7
change theme, increase font size, try mp4
osterman Dec 20, 2023
31795d8
chore: update demo gif
actions-user Dec 20, 2023
efa832a
tweak timing
osterman Dec 20, 2023
e3089d8
change font family
osterman Dec 20, 2023
224f2e5
chore: update demo gif
actions-user Dec 20, 2023
2d3433c
change font family
osterman Dec 20, 2023
6ebc288
chore: update demo gif
actions-user Dec 20, 2023
e24ac2d
install fonts
osterman Dec 20, 2023
3692506
chore: update demo gif
actions-user Dec 20, 2023
2f6140f
try to use fira code font
osterman Dec 20, 2023
c2cc52a
chore: update demo gif
actions-user Dec 20, 2023
cfc4a3f
set term
osterman Dec 20, 2023
16af6df
chore: update demo gif
actions-user Dec 20, 2023
81f40de
set term
osterman Dec 20, 2023
e19d37b
fix spacing
osterman Dec 20, 2023
f727011
chore: update demo gif
actions-user Dec 20, 2023
d60fa41
set lang env
osterman Dec 20, 2023
ffb7016
chore: update demo gif
actions-user Dec 20, 2023
feac9f5
add font to debian image
osterman Dec 20, 2023
cd335ce
chore: update demo gif
actions-user Dec 20, 2023
360297d
test glyph rendering outside of docker
osterman Dec 20, 2023
f995cba
chore: update demo gif
actions-user Dec 20, 2023
e3e004b
test locale
osterman Dec 20, 2023
6bb1335
test locale
osterman Dec 20, 2023
d51a93a
test locale
osterman Dec 20, 2023
8f48f9a
test locale
osterman Dec 20, 2023
bc2269d
test locale
osterman Dec 20, 2023
8d1b67e
chore: update demo gif
actions-user Dec 20, 2023
f3d8491
add summary
osterman Dec 20, 2023
032a56c
try moving locale stuff into script context
osterman Dec 20, 2023
8a40ed3
chore: update demo gif
actions-user Dec 20, 2023
147b582
fix typos
osterman Dec 20, 2023
8f97847
chore: update demo gif
actions-user Dec 20, 2023
80f895c
add job summary even if no new image
osterman Dec 20, 2023
102df6c
restore en_US.UTF-8
osterman Dec 20, 2023
3c8b540
chore: update demo gif
actions-user Dec 20, 2023
d135873
try FiraCode Nerd Font
osterman Dec 21, 2023
f8134f3
chore: update demo gif
actions-user Dec 21, 2023
d9585e8
explain what is going on
osterman Dec 21, 2023
2c3cc7f
try a different theme
osterman Dec 21, 2023
0d8b431
try without demo-deps
osterman Dec 21, 2023
4c7f8fa
chore: update demo gif
actions-user Dec 21, 2023
0d78753
fix missing quote
osterman Dec 21, 2023
ef84a81
chore: update demo gif
actions-user Dec 21, 2023
23ce8c6
restore demo-deps
osterman Dec 21, 2023
6471e97
chore: update demo gif
actions-user Dec 21, 2023
5c02fac
give up on demo-deps
osterman Dec 21, 2023
ce0c76c
chore: update demo gif
actions-user Dec 21, 2023
a5482ae
try jetbrains
osterman Dec 21, 2023
769ce84
chore: update demo gif
actions-user Dec 21, 2023
f1f3930
output environment to job summary
osterman Dec 21, 2023
09e66f2
chore: update demo gif
actions-user Dec 21, 2023
01cdee8
output environment to job summary
osterman Dec 21, 2023
f971f2d
try hack nerd font
osterman Dec 21, 2023
6a193b0
chore: update demo gif
actions-user Dec 21, 2023
646a2ef
try hack nerd font
osterman Dec 21, 2023
c903d8a
chore: update demo gif
actions-user Dec 21, 2023
f4489be
show/hide
osterman Dec 21, 2023
d0d1ec1
show/hide
osterman Dec 21, 2023
5ea3430
chore: update demo gif
actions-user Dec 21, 2023
e2a9174
move gifs
osterman Dec 21, 2023
5336be7
fix commit
osterman Dec 21, 2023
ced3f9b
chore: update demo gif
actions-user Dec 21, 2023
e721b9a
Use plain prompt style
osterman Dec 21, 2023
5d90bbd
fix syntax
osterman Dec 21, 2023
99da8c8
use ${{ github.workspace }}
osterman Dec 21, 2023
683a25f
use ${{ github.workspace }}
osterman Dec 21, 2023
f27e318
use /home/runner
osterman Dec 21, 2023
00e943c
use /home/runner
osterman Dec 21, 2023
e4f3e41
chore: update demo gif
actions-user Dec 21, 2023
fdf9901
set prompt style to unicode
osterman Dec 21, 2023
8c5c7da
chore: update demo gif
actions-user Dec 21, 2023
aee994f
tune prompt for demo
osterman Dec 21, 2023
5aaa8b1
chore: update demo gif
actions-user Dec 21, 2023
5c48048
improve prompt
osterman Dec 21, 2023
435a3a8
chore: update demo gif
actions-user Dec 21, 2023
f667a28
remove unused gif
osterman Dec 21, 2023
a5704a6
chore: update demo gif
actions-user Dec 21, 2023
5707eee
remove commented code
osterman Dec 21, 2023
e15e3ed
chore: update demo gif
actions-user Dec 21, 2023
62d8026
Update demo.tape
osterman Dec 21, 2023
92a8e38
add missing delay
osterman Dec 21, 2023
6e5b167
cancel in progress
osterman Dec 21, 2023
d736a07
chore: update demo gif
actions-user Dec 21, 2023
a6b524a
cancel in progress
osterman Dec 21, 2023
ca36121
fix typo
osterman Dec 21, 2023
cc4ebea
chore: update demo gif
actions-user Dec 21, 2023
e0d8937
standardize commands
osterman Dec 21, 2023
0053ed4
chore: update demo gif
actions-user Dec 21, 2023
8a94f5c
Update readme
osterman Dec 21, 2023
00ea1a5
chore: update demo gif
actions-user Dec 21, 2023
02c1c0b
Update readme
osterman Dec 21, 2023
16ced6a
Update readme
osterman Dec 21, 2023
1a1f83b
Update readme
osterman Dec 21, 2023
097e275
Update readme
osterman Dec 21, 2023
66bb98b
chore: update demo gif
actions-user Dec 21, 2023
9888441
Update readme
osterman Dec 21, 2023
b51d755
chore: update demo gif
actions-user Dec 21, 2023
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
65 changes: 65 additions & 0 deletions .github/workflows/vhs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: vhs
on:
pull_request:
paths:
- '*.tape'

env:
TERM: "xterm-256color"
COLORTERM: "truecolor"
LANG: "en_US.UTF-8"
ENV_FILE: "/home/runner/gha.env"

jobs:
vhs:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

steps:
- uses: actions/checkout@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2

- name: "Override Env for Geodesic Demo Purposes"
run: |
echo "PROMPT_STYLE=unicode" > ${ENV_FILE}
echo "BANNER_MARK=🚀" >> ${ENV_FILE}
echo "ASSUME_ROLE_INACTIVE_MARK= " >> ${ENV_FILE}
echo "PROMPT_HOST_MARK=(demo)" >> ${ENV_FILE}

# Speed up builds for demo by pre-building docker image
- name: "make all"
run: make all

- uses: charmbracelet/vhs-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: demo.tape
install-fonts: true

- uses: stefanzweifel/git-auto-commit-action@v4
id: auto-commit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: "chore: update demo gif"
commit_user_name: vhs-action 📼
commit_user_email: [email protected]
commit_author: vhs-action 📼 <[email protected]>
file_pattern: '*.gif'

- name: Add Image to Job Summary
if: steps.auto-commit.outputs.changes_detected == 'true'
run: |
echo "## Demo GIF" >> $GITHUB_STEP_SUMMARY
echo "![Demo GIF](https://github.com/${{ github.repository }}/blob/${{ steps.auto-commit.outputs.commit_hash }}/docs/demo.gif?raw=true)" >> $GITHUB_STEP_SUMMARY

- name: No changes
if: steps.auto-commit.outputs.changes_detected == 'false'
run: |
echo "No changes to demo" >> $GITHUB_STEP_SUMMARY

3 changes: 3 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Required for vhs demo tape
cask "font-fira-code-nerd-font" if OS.mac?

Loading