All pages
Powered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

How to use it?

Adding site

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.

Let's get started

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.

Section
Description

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

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.

Create a server

Let's create a server first. please use root user.

After creating the server, we need to adding public key to our server. if you did'nt setup the server yet, please follow this instruction.

Copy the ssh public key.

Remote your server with root user

ssh [email protected]

open authorized_keys and paste your public key

nano .ssh/authorized_keys

and then Check connection, make sure the connection is successfully

Congrats, your server added to CodeDeploy!

Add discord notification

Monitor failed or success deployment using discord notification, create your own notification bot webhook.

And then add it to Notification at Server detail.

Now you will get updated for every Quick Deployment!