Skip to content

Add CI workflow to compress media assets #289

@MUFFANUJ

Description

@MUFFANUJ

Problem

Media assets (GIFs, MP4s, PNGs) in the repo are uncompressed, currently totalling ~16-17MB.
These get heavier over time as examples are added/updated

Proposed Solution

Add a GitHub Actions workflow that:

  • Compresses all existing and future PNGs, GIFs, and MP4s via CI
  • Runs automatically on push to main when media files change
  • Can be triggered manually (workflow_dispatch) to compress all existing assets

Compression happens at CI time, not runtime, and the bot commits the compressed files back.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions