From 5fb6f8e4f95c14b75dde8bded7d1d9260493628f Mon Sep 17 00:00:00 2001 From: Andrew Burnes Date: Tue, 17 Oct 2023 13:22:24 -0700 Subject: [PATCH] chore: Refine site repo migration docs --- OPERATIONS.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/OPERATIONS.md b/OPERATIONS.md index 40dba5707..0b0cfd689 100644 --- a/OPERATIONS.md +++ b/OPERATIONS.md @@ -20,5 +20,15 @@ Requirements: Example: ```bash -$ cf run-task pages- "yarn migrate-site-repo 1 user@agency.gov 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 +# [--name] Optional: Name to give the task (generated if omitted) + +## Example migration +$ cf run-task pages- --command "yarn migrate-site-repo 1 user@agency.gov agency-org site-repo" --name site-1-migrate + +## See the migration output +$ cf logs --recent pages- ```