drt deploy github-actions
Scaffold a GitHub Actions workflow that runs this project's syncs.
Usage
drt deploy github-actions [OPTIONS]
Options
| Option | Type | Default | Description |
|---|---|---|---|
--schedule, -s | TEXT | Cron schedule (UTC), e.g. "40 3 * * *". Omit for manual dispatch only. | |
--select | TEXT | * | Sync selector passed to drt-action. |
--profile, -p | TEXT | `` | Profile name passed to drt-action (empty = project default). |
--extras | TEXT | Override the inferred drt-core extras (comma-separated). | |
--with-plan | BOOLEAN | Scaffold the review loop instead of a scheduled sync: a pull-request workflow that comments drt plan, and a merge workflow that runs drt apply on the plan that was reviewed. | |
--plan-output | PATH | .github/workflows/drt-plan.yml | With --with-plan: the plan workflow path. |
--apply-output | PATH | .github/workflows/drt-apply.yml | With --with-plan: the apply workflow path. |
--max-age | TEXT | 7d | With --with-plan: how old a reviewed plan may be when it is applied. |
--redact-keys | BOOLEAN | With --with-plan: hash key values in the PR comment and the plan artifact. | |
--output, -o | PATH | .github/workflows/drt-sync.yml | Workflow file path to write. |
--dry-run | BOOLEAN | Print the workflow instead of writing it. | |
--force | BOOLEAN | Overwrite an existing workflow file. |