Adding site
Last updated
Last updated
This step i assuming you already setup your site, if you using cloudpanel follow this instruction to add the site first.
Of course you can use your favorite panel too.
Navigate to server list and click Site
button.
Next step, add your site information. And then click create.
After created, then click Manage site.
You will see this page
Now lets check if the site is installed successfully, navigate to Deployment Page. And add php artisan about
to see if it working. Then, click deploy now.
Click Enable Quick Deploy
If you want to activate Push to Deploy.
Next step, Let's navigate to Repository page.
Repository
If your GitHub account is connected with CodeDeploy, you will see a list of your repositories.
You can leave this empty if the account is not connected.
Branch
CodeDeploy uses this branch to gather details of the latest commit when you deploy your application.
Site detail
CodeDeploy uses this data to deploy your application
Deploy Webhook URL
You can use this URL to trigger deployments remotely, You can send a "post" request to this URL.
Let's change the branch to the main & generate webhook url
Copy the webhook url, and then add it to github.
You can skip this step if you did'nt enabled the Quick Deploy