How to integrate Github

Synchronize a git repository with your application for automatic commits.

Whenever a commit is sent to your application repository, the Discloud will update your application files automatically.

This feature is only available for paid plans.

πŸ“Requirements

It is required that your application is already hosted in the Discloud.

How to Use?

Enter the text channel #πŸ”Œγƒ»commands and type .git

Repository URL

Go into the DM of the DisCloud bot and paste the repository URL for your application.

Configure the Access Token (Open Github)

It is important that access is for all repositories (especially if you want to enable synchronization for more than 1 application)

Permissions Configuration

Make sur to select the read-only Webhooks and Contents settings and generate your token

Webhook

Open your application repository and create a webhook

Configuring the Webhook

Make sure you change the content type to application/json

Last updated