This section will cover the project deployment features Depfloy provides to keep your projects running smoothly.

What Is The Deployment?

Deployment refers to the process of creating and publishing a project on the web. This involves running commands such as npm run build or composer install, as well as publishing the nginx configuration and performing similar operations.

You can either initiate a deployment manually or set up your source control account to automatically start a deployment when you receive a webhook.

Automatic Deployment

When you create a new project in Depfloy, webhook definitions are automatically added to your Git account. Checking the 'enable auto deploy' option in your project settings means that Depfloy will start a deployment automatically when you receive a webhook from GitHub, GitLab or Bitbucket.

Manual Deployment

To start a deployment manually, hover over the project on the projects page and click the "Deploy" button. You can track the deployment progress in real-time. If you want to see the real-time deployment logs, click the "Live Logs" button.

You can also initiate deployment operations through Depfloy API.

You can view the deployment history of your projects on the deployments page. You can also view the deployment logs and the deployment status.

Resetting the deployment state

In some cases, the deployment status may remain in the "deploying" state. This usually happens when the deployment is completed or an error occurs. In this case, you can reset the deployment status by hovering over the deployment and clicking the three-dot menu, then clicking the "Reset Deployment Status" option.

Was this page helpful?