upload-r2
Installation
SKILL.md
Upload R2 Asset
Use this for large media assets that should be hosted on https://remotion.media/ instead of committed to Git.
Workflow
-
Find the main worktree:
git worktree list --porcelainPrefer the worktree on
refs/heads/main, usually/Users/jonathanburger/remotion. -
Load R2 credentials from the main worktree:
--env-file=/Users/jonathanburger/remotion/packages/remotion-media/.envDo not print secret values. The required variables are
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEY.