-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhutte.yml
22 lines (21 loc) · 967 Bytes
/
hutte.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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: |
set -euo pipefail # fail fast
sf project deploy start --wait 60 --ignore-conflicts
sf org assign permset --name dreamhouse
echo y | sf plugins install sfdmu
sf sfdmu run -p data/sfdmu -s csvfile -u "${SALESFORCE_USERNAME}" --filelog 0 -n
custom_scripts:
# This scripts will be displayed on the scratch org's page
scratch_org:
'Export Data':
description: 'Export data using SFDMU'
run: |
set -euo pipefail # fail fast
echo y | sf plugins install sfdmu
sf sfdmu run -p data/sfdmu -s "${SALESFORCE_USERNAME}" -u csvfile --filelog 0 -n
git add data
git commit -m "modified data"
git push origin "${HUTTE_GIT_SOURCE_BRANCH}"