Home

Awesome

VHS Action

Keep your GIFs up to date with VHS + GitHub actions 📽️

vhs-action-banner

<img alt="Welcome to VHS!" src="vhs.gif" width="600" />

The above GIF is automatically generated on CI with GitHub actions and VHS.

Getting Started

To get started with GitHub actions you can read the documentation.

To add vhs-action to your project you will need to:

  1. Create .github/workflows/vhs.yml in your project directory.
  2. Copy one of the examples/ into your vhs.yml.
  3. Create your tape files with the instructions to perform (See VHS instructions on .tape files)
  4. Trigger your action by creating a pull request or making a commit depending on your 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.

Inputs

NameDescriptionDefault
pathPath of the VHS .tape file"" (install VHS without running it)
versionVersion of VHS to use"latest"
tokenGitHub token to use"${{ github.token }}"
install-fontsWhether 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.

<details> <summary>Extra fonts</summary> </details>

Examples

Feedback

We’d love to hear your thoughts on this project. Feel free to drop us a note!

License

MIT


Part of Charm.

<a href="https://charm.sh/"> <img alt="The Charm logo" width="400" src="https://stuff.charm.sh/charm-badge.jpg" /> </a>

Charm热爱开源 • Charm loves open source