Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

target_batch

Marcel Kloubert edited this page Dec 9, 2017 · 1 revision

Home >> Targets >> batch

Batch

Deploys to one or more other target.

{
    "deploy.reloaded": {
        "targets": [
            {
                "type": "batch",
                "name": "My batch",
                "description": "Deploys to 'Online' and 'Backup' in one operation",
                "targets": ["Online", "Backup"]
            },

            {
                "name": "Online",
                "type": "sftp",
                "description": "A folder on a SFTP server",

                "host": "example.com",
                "user": "tester", "password": "P@assword123!"
            },
            {
                "name": "Backup",
                "type": "local",
                "description": "Local path of 'backup' files",

                "dir": "/deploy_backup_path",
                "empty": true
            }
        ]
    }
}
Name Description
targets A list of one or more names of other targets to deploy to.