-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy-simple-invocable.sh
More file actions
executable file
·35 lines (31 loc) · 1.36 KB
/
Copy pathdeploy-simple-invocable.sh
File metadata and controls
executable file
·35 lines (31 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
echo "======================================"
echo "Deploying QuickBooks Simple Invocable"
echo "======================================"
echo "Target Org: a@simple.company.oxycell"
echo ""
# Deploy the simple invocable class with its own test for coverage
echo "Deploying QuickBooksEstimateSimpleInvocable with test coverage..."
sf project deploy start \
--source-dir force-app/main/default/classes/QuickBooksEstimateSimpleInvocable.cls \
--source-dir force-app/main/default/classes/QuickBooksEstimateSimpleInvocable.cls-meta.xml \
--source-dir force-app/main/default/classes/QuickBooksEstimateSimpleInvocableTest.cls \
--source-dir force-app/main/default/classes/QuickBooksEstimateSimpleInvocableTest.cls-meta.xml \
--test-level RunSpecifiedTests \
--tests QuickBooksEstimateSimpleInvocableTest \
--target-org a@simple.company.oxycell \
--wait 30 \
--verbose
if [ $? -eq 0 ]; then
echo ""
echo "✅ Deployment successful!"
echo ""
echo "Next steps:"
echo "1. The QuickBooksEstimateSimpleInvocable is now available in your org"
echo "2. You can use it in Flows with the label 'Create QuickBooks Estimate (Simple)'"
echo "3. Required inputs: Company ID, Customer ID, and Amount"
echo "4. Optional inputs: Customer Memo and Opportunity ID"
else
echo ""
echo "❌ Deployment failed. Please check the error messages above."
fi