# `mix tinfoil.scoop`
[🔗](https://github.com/joshrotenberg/tinfoil/blob/v0.2.22/lib/mix/tasks/tinfoil.scoop.ex#L1)

Render the Scoop manifest from release artifacts and push it to the
configured bucket repo. The Windows counterpart to
`mix tinfoil.homebrew`.

Runs on a separate CI job after `mix tinfoil.publish` has created
the GitHub Release. The heavy lifting lives in `Tinfoil.Scoop`.

## Required environment

  * `GITHUB_REF_NAME`         — release tag (`v1.2.3`)
  * `SCOOP_BUCKET_TOKEN`      — only when `scoop.auth` is `:token`

When `scoop.auth` is `:deploy_key`, set up an `ssh-agent` with the
bucket repo's deploy key before invoking the task (the generated
workflow does this via `webfactory/ssh-agent`).

## Flags

  * `--input-dir DIR` — directory containing release archives and
    `.sha256` sidecars (default `"artifacts"`)
  * `--tag VALUE`     — override `GITHUB_REF_NAME`
  * `--dry-run`       — render the manifest and print what would be
    pushed (bucket, clone URL with tokens redacted, commit message,
    full manifest JSON) without touching the bucket repo

---

*Consult [api-reference.md](api-reference.md) for complete listing*
