> ## 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 from GitHub | Human guide

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

```deepline-prompt theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
/deepline-gtm Help me link [repository] to [workspace] for Play deployment. Show the branch, manifest, permissions, verification, and rollback before changing anything.
```

The agent helps you connect the GitHub App and choose the repository files that
deploy. Ready pull requests register draft Play revisions. Production-branch
pushes change live revisions; linking alone does not deploy existing commits.

## Before connecting

Git deploys requires beta enablement for your org. Request access through
the dashboard support button if needed. You need org owner/admin access
and permission to install the App for the repository.

Provide the repository, production branch, source directory, manifest, and target
org. Keep provider credentials and active Play secrets in Deepline.
Anyone who can push to the selected production branch can change these Plays.

App installation grants read access to repository contents, metadata, and pull
requests, plus check-run write access. GitHub sign-in also requests email read access.

Review the manifest before linking. Monitor files are discovered by default;
set `monitors: []` when deploying Plays only. See
[Monitor file deployment](https://deepline.com/docs/human/plays/set-up-a-monitor.md#deploy-monitor-files-from-git)
when including them.

## Connect and check one change

1. Open **Deploys** in Deepline.
2. Select **Connect GitHub**.
3. Complete App installation for the selected repositories.
4. Select **Link a repository** if the linking dialog is not already open.
5. Set the repository, production branch, root directory, and manifest.
6. Confirm the link.
7. Inspect the saved settings under **Repositories**.
8. Open a ready pull request from the same repository.
9. Confirm its **Deepline Plays** check registers drafts without changing live Plays.
10. Merge the reviewed change.
11. Inspect the production deployment under **Deploys**.

Fork pull requests receive no build. Mark a draft ready for review to start its
first build. Build compute is metered; deployment details show duration.

> [!TIP]
>
> * Keep the deployment's commit, org, and live revision together for review.
> * Roll back through a source revert and a new deployment. Inspect its result.
> * Read warnings and Monitor Jobs. Monitor provider changes can remain after a
>   failure; removing source or unlinking does not stop existing resources.

For restricted organizations or GitHub Enterprise Server, use
[Deploy with GitHub Actions](https://deepline.com/docs/human/sdk-v2/github-deployments.md).

[Review and operate a workflow](https://deepline.com/docs/human/templates.md#review-and-operate-a-workflow)
covers authorization, pilots, and recovery.

[Agent guide: CLI and SDK instructions →](https://deepline.com/docs/sdk-v2/git-deploys.md)


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