If you want advanced functionality and more configuration options when deploying your application, consider updating your Git based Laravel application in RunCloud to Atomic Deployment.
Please take note, this process is irreversible. You can’t convert Atomic Deployment Web Application back to regular git deployment after you run this.
Here are the step by step instructions to convert your app:
- Go to the RunCloud dashboard and click on the Atomic Deployment button in the top left corner of the dashboard. If this is your first time creating an app, you will see a welcome screen. Click on “Deploy a Project” to get started.
- On the next screen, you will see a list of your web apps that are using Git deployment. Select the web app that you want to upgrade to Atomic Deployment and click on the Create Project button.
- To start using Atomic Deployment, you’ll need to add your Git webhook URL to your Git repository. You can find the webhook URL in the Atomic Deployment dashboard.
- Copy the Webhook URL and paste it to your Git repository settings under the Webhooks section. If you had previously configured the Webhook URL for your git app, you can replace the existing URL with this new URL.
That’s it!
You can start using Atomic Deployment for your Laravel app. Whenever you push a new code to your Git repository, the webhook will trigger a deployment on RunCloud.
You can also manually trigger a deployment by clicking on the Force Deploy button on the dashboard. The status of new deployments and logs can be monitored under the Deployments tab of your project settings.
You can also add deployment scripts to customize your deployment process under the Deployment Scripts tab of your project settings. For example, you can add scripts to install Composer dependencies, activate the latest release, or run PHP Artisan commands.