Skip to main content
Use this path for GitHub Enterprise Server or organizations that cannot install the Deepline GitHub App. For GitHub.com, start with Deploy from GitHub. The agent prepares one pinned-CLI workflow. Pull requests validate source with an isolated workspace key. Protected production jobs deploy the selected Plays together from the checkout.

Prepare the inputs and access

Provide the repository, reviewed Play directory, manifest, validation workspace, and production workspace. Keep monitors: [] in the manifest for this directory workflow; Monitor files require a separate deployment path. Set DEEPLINE_CLI_VERSION as a repository variable. Store DEEPLINE_CHECK_API_KEY as a repository secret for the isolated validation workspace. Store DEEPLINE_API_KEY in the protected deepline-production environment for the production workspace. Restrict that environment to main; add reviewers when approval is required. Configure provider connections and declared Play secrets in each workspace. Keep production keys out of pull-request jobs. Fork commits need review on a maintainer-controlled branch because forks cannot use repository secrets. Do not expose secrets through pull_request_target.

Enable and verify publication

Review the workflow before enabling it. Confirm its source directory, selected files, target workspace, and production branch. A manual run must use the approved production branch. Check linked-repository ownership first. Directory deployment can replace its live Play; the next owner push can replace that version again. Choose the repository link or Actions as the deployment owner. Inspect the deployment receipt, warnings, and live versions after publication. Restore a previous revision for rollback, then revert or fix the source so the next deployment agrees. Deleting source or unlinking leaves live Plays running; decommission their triggers and callers separately.
  • Keep the deployed commit and revision ID with the workflow result.
  • Check publication in Deepline, not only the Actions exit code. A deployment with warnings can exit zero.
  • Test changed runtime behavior with approved synthetic input in an internal or test workspace.
Review and operate a workflow covers authorization, pilots, and recovery. Agent guide: CLI and SDK instructions →