You can use GitHub to host and distribute your plugin updates securely. Follow the steps below to configure GitHub as your distribution server in WooCommerce.
Prerequisites
Before setting up the distribution server, ensure you have the following:
- A GitHub account.
- A Personal Access Token (PAT) from GitHub. You can learn how to create one here.
Accessing the Distribution Settings
- Log in to your WordPress admin dashboard.
- Navigate to: WooCommerce → Settings → Licenses → Distribution.
- You will see the distribution server settings as shown in the screenshot below:
Configuring GitHub
- Access Token: Paste your GitHub Personal Access Token here.
- Repository Owner: Enter your GitHub username or organization name.
- Is Organization: Check if the account is an organization. Click here to check if the account is organization or personal
Once all fields are filled, click Save changes to enable GitHub as your distribution server.