> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy Plays from a repository

> Have your agent connect a repository to Deepline Play deployment.

[Agent guide: CLI and SDK instructions →](/docs/sdk-v2/git-deploys)

## 1. Have your context ready

Identify the repository, live branch, source directory, and target workspace. You must approve GitHub access.

## 2. Ask your agent

Paste this into your agent, then provide your task and example inputs when it asks:

```deepline-prompt theme={null}
/deepline-gtm Help me connect this repository to Deepline Play deployment. Inspect the current repository-link contract and existing ownership first. Confirm the live branch, source directory, selected Plays, and workspace. Walk me through any GitHub authorization I must complete. Show which committed change would deploy and how we would verify or roll it back. Wait for my approval before linking or deploying.
```

Complete any requested sign-in yourself. Give the agent the missing information before approving execution. Provider-backed work can incur usage.

## 3. Review the result

The deployment records the intended repository revision and workspace. Ask the agent to explain who owns each Play and what a rollback changes.

Ask your agent:

```deepline-prompt theme={null}
/deepline-gtm Compare the result with the acceptance rule we agreed. Show the evidence for accepted and rejected outcomes, unresolved questions, and recorded Deepline usage where work ran. If work is still running or a response is uncertain, inspect the original saved execution before proposing another request. Explain the next decision I need to make.
```

Approve a larger job, recurring work, or external changes only after reviewing that decision.

## Check your understanding

Does removing a Monitor definition file automatically delete the live Monitor?

> **Show the answer**
>
> No. File removal does not establish an explicit live deletion. Use the
> supported Monitor lifecycle operation after reviewing dependencies.

## Related guides

* [Deploy Plays with GitHub Actions](/docs/human/sdk-v2/github-deployments)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.