Skip to content

Commit

Permalink
Merge pull request #4273 from cloud-gov/chore-site-repo-migrate-docs
Browse files Browse the repository at this point in the history
chore: Refine site repo migration docs
  • Loading branch information
apburnes authored Oct 17, 2023
2 parents 90bc193 + 5fb6f8e commit ca93180
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion OPERATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,15 @@ Requirements:
Example:

```bash
$ cf run-task pages-<env> "yarn migrate-site-repo 1 [email protected] agency-org site-repo" --name site-1-migrate
## Running the site repo migration ##
# Task arguments:
# --command Required: Runs migration command with args
# ie: yarn migrate-site-repo <siteId> <email> <owner> <repository>
# [--name] Optional: Name to give the task (generated if omitted)

## Example migration
$ cf run-task pages-<env> --command "yarn migrate-site-repo 1 [email protected] agency-org site-repo" --name site-1-migrate

## See the migration output
$ cf logs --recent pages-<env>
```

0 comments on commit ca93180

Please sign in to comment.