Keep your GIFs up to date with VHS + GitHub actions 📽️
The above GIF is automatically generated on CI with GitHub actions and VHS.
To get started with GitHub actions you can read the documentation.
To add vhs-action
to your project you will need to:
.github/workflows/vhs.yml
in your project directory.examples/
into your vhs.yml
..tape
files)vhs.yml
file.That's all! Anytime the action is triggered, GitHub actions and VHS will regenerate the GIF from your .tape
file on CI.
This is useful for keeping demos updated and performing integration testing to catch errors in your PRs.
Name | Description | Default |
---|---|---|
path |
Path of the VHS .tape file |
"" (install VHS without running it) |
version |
Version of VHS to use | "latest" |
token |
GitHub token to use | "${{ github.token }}" |
install-fonts |
Whether to install extra fonts | "false" |
The action provides JetBrains Mono
by default. Extra fonts (and their
nerd font variations) can be installed by setting install-fonts
to true
.
We’d love to hear your thoughts on this project. Feel free to drop us a note!
Part of Charm.
<img alt="The Charm logo" width="400" src="https://stuff.charm.sh/charm-badge.jpg" />
Charm热爱开源 • Charm loves open source