-
-
Notifications
You must be signed in to change notification settings - Fork 39
external_sources
Home >> External sources
Many settings like imports or targets like list, each or switch support loading their data from external sources.
{
"deploy.reloaded": {
"targets": [
{
"name": "My SFTP switch",
"type": "switch",
"options": "sftp://myUser:[email protected]:666/myProject/list-settings.json",
},
{
"name": "sftp1",
"type": "sftp",
// ...
},
{
"name": "sftp2",
"type": "sftp",
// ...
}
]
}
}
The example downloads the data for options
property of My SFTP switch
target from the SFTP server example.com:666
and requests the file /myProject/list-settings.json
by using myUser
and myPassword
as credentials.
dropbox:///myProjectsSubFolder/test.json?accessToken=<YOUR-ACCESS-TOKEN>
The client supports the following query parameters (s. DropBox target):
Name | Type |
---|---|
accessToken |
string |
ftp://myUser:[email protected]/subFolder/test.json?engine=jsftp
The client supports the following query parameters (s. FTP target):
Name | Type |
---|---|
engine |
string |
E:/myProject/file.json
sftp://myUser:[email protected]/subFolder/test.json?readyTimeout=10000&tryKeyboard=true
The client supports the following query parameters (s. SFTP target):
Name | Type |
---|---|
agent |
string |
agentForward |
bool |
debug |
bool |
hashAlgorithm |
string |
hashes |
string list |
privateKey |
string |
privateKeyPassphrase |
string |
readyTimeout |
integer |
tryKeyboard |
bool |
slack://<CHANNEL-ID>/test.json?token=<YOUR-ACCESS-TOKEN>
The client supports the following query parameters (s. Slack target):
Name | Type |
---|---|
token |
string |
Possible values for (true)
are:
1
true
y
yes
Values, that are empty or containing whitespaces only, will be unset.
All other values will be converted to (false)
.
A comma separated list of values.
1,4,2,3
, for example, will be converted to [ "1", "4", "2", "3" ]
.