From 3fcaf0679d8197e4990b0c10bf452561d34a009e Mon Sep 17 00:00:00 2001 From: Julian Joseph Date: Tue, 16 Apr 2024 15:35:34 -0700 Subject: [PATCH] add custom button to hutte yml --- hutte.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hutte.yml b/hutte.yml index a7d4753..4dc1beb 100644 --- a/hutte.yml +++ b/hutte.yml @@ -4,4 +4,12 @@ version: 1.0 # Shell script to run when pushing the source code to the scratch orgs. # It's a great place to automate tasks like permission set assignments or data loading. push_script: | - sfdx force:data:tree:import -f Contact.json \ No newline at end of file + sfdx force:data:tree:import -f Contact.json + +custom_scripts: + scratch_org: + "Import Data": + description: "Import data using SFDMU" + run: | + echo y | sf plugins install sfdmu + sf sfdmu run -p data -s csvfile -u "${SF_TARGET_ORG}" --filelog 0 -n