Deploy your app

Running your app offers a preliminary snapshot of your Add-on’s behavior before deploying it. This information can facilitate debugging.

To run the app:

Run the app in https://localhost:9080:

aio app run

To deploy the app:

  1. Navigate to your Deployment workspace:

    code language-bash
    aio app use -w [deployment_workspace]
    
  2. Deploy the app:

    code language-bash
    aio app deploy
    

To force re-deployment:

You can force a build and deployment of your app without re-submitting it for approval.

NOTE
Forcing a build and deployment overwrites your existing deployment. Thoroughly test your app in a test environment first.
aio app build --force-build
aio app deploy --force-deploy

To build and deploy at the same time:

aio app deploy --force-build --force-deploy

To view the app:

After deployment, you can view the app in GenStudio for Performance Marketing by adding a query parameter to the GenStudio for Performance Marketing URL:

https://experience.adobe.com/?ext=https://<my-deployed-add-on>.adobeio-static.net/index.html#/@<ims-org>/genstudio/create

If you’re satisfied with your Add-on, you’re ready to distribute it without the query parameter.

Now, you can distribute your app.

recommendation-more-help
9e880c58-9ef6-4284-b91d-d4c2117410c7