Deploying the App

If you used Automatic Signing, you can also automatically deploy the app by using the API.

First, ensure that you configure the automatic deployment parameters on the Deploy page on the Platform.

The scripts use several variables such as API_KEY, task_id. Ensure that you update these variables accordingly.

To send a deployment request for any type of deployment other than Apple’s Appstore, use this API request:

curl -s --request POST \
    --url "https://fusion.appdome.com/api/v1/tasks" \
    --header "Authorization: $API_KEY" \
    --header 'content-type: application/json' \
    -d '{"parent_task_id": $task_id , "action": "deploy"}'

Deploying an app to Apple's Appstore must be made from your Macintosh computer. To streamline this process, you can download a script that will perform this operation by using the API shown below. The Task ID is sent in the URL:

curl -s --request GET \
    --url "https://fusion.appdome.comL/api/v1/tasks/$task_id/deploy_script" \
    --header "Authorization: $API_KEY" \
    --header 'content-type: application/json'