Go to https://cloud.digitalocean.com/apps, then click on your app. Click on the Activity tab to view your app’s history of deployment activity. Click the Deployment link for any active deployment to view its real-time logs.
The deployment marked as “LIVE” is the one currently being served at the live URL for your app.
To manually redeploy your app, click the Action button in the top right corner, then click Deploy in the drop-down menu. This pulls the latest code from the component’s associated source repo and runs a build and deploy process.
You can undo a faulty deployment by rolling back the app to a previous deployment. This lets you recover from accidentally deploying code with errors or an app spec that causes failures.
For apps on the Basic tier, you can roll back to the most recent successful deployment. For apps on the Professional tier, you can roll back to the ten most recent successful deployments. This feature is not available on the Starter plan.
To roll back an app to a previous deployment, the deployment must be in the same region as the app and must have the same database components and configuration.
Rolling back an app restores the app’s code, configuration, and app spec, but not any database data. To roll back a database’s data, restore it from a backup as described in the Managed Databases documentation.
To roll back an app, go to the Apps page and click your app, then click the Activity tab.
In the Activity tab, click the Rollback link for the deployment you want to roll back. The Rollback window that opens displays a comparison between the current deployment and the selected deployment:
Expand the app component name under Global Settings Changed to see whether the source code or resource settings have changed.
Expand ALL SETTINGS DIFF to see the diff between your current and previous deployment’s app spec. Any additions and deletions to the spec are displayed using + and -.
Click Rollback to start the rollback deployment. The rollback deployment duplicates the old deployment and contains the same code and configurations.