Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
film

GitHub Action

VHS Action

v1.2.0

VHS Action

film

VHS Action

Run VHS to render terminal videos

Installation

Copy and paste the following snippet into your .yml file.

              

- name: VHS Action

uses: charmbracelet/vhs-action@v1.2.0

Learn more about this action in charmbracelet/vhs-action

Choose a version

VHS Action

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

vhs-action-banner

Welcome to VHS!

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 vhs.tape file 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.

Examples

  • Auto-commit latest generated GIF file (example)
  • Upload GIF to host and comment generated GIF on a pull request (example)

Feedback

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

License

MIT


Part of Charm.

The Charm logo

Charm热爱开源 • Charm loves open source