Skip to content

Commit

Permalink
chore: Refine site repo migration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
apburnes committed Oct 17, 2023
1 parent 90bc193 commit 5fb6f8e
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 5fb6f8e

Please sign in to comment.