# Trigger Spacelift (Deprecated)

:::warning Deprecated
`cloudposse/github-action-atmos-affected-trigger-spacelift` is deprecated, along with the rest of the [Spacelift integration](/deprecated/spacelift) it depends on. Use [Atmos Pro](/pro) as the replacement for Spacelift, with [Native CI](/ci) for plan and deploy workflows.
:::

The [Atmos Trigger Spacelift GitHub Action](https://github.com/cloudposse/github-action-atmos-affected-trigger-spacelift) determined the affected Atmos stacks for a PR, then commented on the PR (or called `spacectl` directly) to trigger the corresponding Spacelift stacks.

## Native CI Equivalent

Teams moving off Spacelift can use [Atmos Pro](/pro) for infrastructure coordination and run affected-stacks workflows directly in GitHub Actions:

```yaml
- name: Detect affected
  run: atmos describe affected --format=matrix
```

See [Native CI](/ci#deploy-affected) for the full `plan`/`deploy` matrix workflow, and [Spacelift Integration (Deprecated)](/deprecated/spacelift) if you still need to maintain an existing Spacelift setup.

Discover more details, including the full list of `inputs` and `outputs`, in the [GitHub Action repository](https://github.com/cloudposse/github-action-atmos-affected-trigger-spacelift) on GitHub.
