forked from tiagonnascimento/sfdx-orgdev-build-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
72 lines (57 loc) · 2.63 KB
/
action.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: 'sfdx-orgdev-build-deploy'
author: Tiago Nascimento - tnascimento@salesforce.com
description: 'Convert a Salesforce DX project into a metadata package and deploy it'
inputs:
type:
description: 'Type of deployment, could be one of the two: production or sandbox (default)'
required: true
default: 'sandbox'
certificate_path:
description: 'Path for the encrypted certificate to be used on force:auth:jwt:grant'
required: true
decryption_key:
description: 'Decryption key to be used to decrypt the certificate'
required: true
decryption_iv:
description: 'Decryption IV to be used to decrypt the certificate'
required: true
client_id:
description: 'Client ID / Consumer Key of a connected app to the target destination'
required: true
username:
description: 'Username to be used to connect in the target org'
required: true
checkonly:
description: 'Boolean (true/false) that will indicate whether the deploy is a checkonly deploy or not. If is a checkonly, on force:mdapi:deploy command the option -c will be appended'
required: true
default: true
sfdx_root_folder:
description: 'Path on the current repository to the root folder of the sfdx project'
required: false
manifest_path:
description: 'Path on the current repository (or on the root folder of the sfdx project if sfdx_root_folder is set) to one or more package.xml that represents the packages to be deployed. Based on this files the metadata package will be created and deployed in the order specified'
required: true
deploy_testlevel:
description: 'Specifies which tests are run as part of a deployment. Valid values are: NoTestRun, RunSpecifiedTests, RunLocalTests, RunAllTestsInOrg'
required: true
default: RunLocalTests
deploy_wait_time:
description: 'Wait time for deployment to finish in minutes. Default is 60'
required: false
default: '60'
destructive_path:
description: 'Path for the destructive changes directory'
required: false
data_factory:
description: 'Path on the current repository to the apex script that will be used to create data required by the package'
required: false
default_source_path:
description: 'Default source path to look for apex classes. Only used when deploy_testlevel is RunSpecifiedTests'
required: false
default: 'force-app/main/default'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'cloud-lightning'
color: 'blue'