# gt: General Translation CLI tool: Splitting CI stages
URL: https://generaltranslation.com/en-US/docs/cli/guides/continuous-translation/splitting-ci-stages.mdx
Docs index: https://generaltranslation.com/llms.txt
Description: How to separate upload, enqueue, and download across independent CI jobs for standalone files.

For standalone file formats (such as JSON, YAML, or MDX), you can split translation into three independent commands so no runner waits while translation runs.

<Callout type="info">
  [`gt upload`](/docs/cli/reference/commands/upload) only uploads file-based formats. For framework apps with inline [`<T>`](/docs/react/reference/components/t) or [`useGT`](/docs/react/reference/hooks/use-gt) content, use [Running in CD](/docs/cli/guides/continuous-translation/running-in-cd) or [Staging in CI](/docs/cli/guides/continuous-translation/staging-in-ci) instead.
</Callout>

## Pipeline stages [#stages]

Set `GT_API_KEY` and `GT_PROJECT_ID` in your CI secrets, then run each command in its own job or trigger. (See [Shared requirements](/docs/cli/guides/continuous-translation#credentials)).

```bash
# 1. Upload standalone source files and any existing local translations
npx gt upload

# 2. Enqueue translations and exit immediately without waiting
npx gt enqueue

# 3. Download completed translations in a later job
npx gt download
```

Trigger the [`gt download`](/docs/cli/reference/commands/download) job on a schedule, manually, or from a [webhook](/docs/platform/dashboard/reference/webhooks). (See [Managing translations](/docs/cli/guides/managing-translations#split)).

## Next steps

- /docs/cli/guides/continuous-translation/running-in-cd
- /docs/cli/guides/continuous-translation/using-github-actions
- /docs/cli/guides/continuous-translation/staging-in-ci
- /docs/cli/guides/managing-translations

## Sitemap

See the full [sitemap](https://generaltranslation.com/sitemap.md) for all pages.
