Sign in

Create code deployment

documented

Create or update a deployment configuration for this site.

POST /sites/{wpcom_site}/hosting/code-deploymentsGitHub Deploymentsno implementation yet0 runs

Input

wpcom_site*
WordPress.com site identifier (domain or blog ID)
example.wordpress.com
external_repository_id*
External repository ID
12345
branch_name*
Branch name to deploy
main
target_dir*
Target deployment directory on site
/wp-content/plugins/repo
installation_id*
GitHub installation ID
1
is_automated
Automatically deploy on push
true|false
workflow_path
Workflow path
.github/workflows/wpcom.yml
Calls WordPress.com as you (your API key is your account); keychains.dev holds the credentials.
Create code deployment · WordPress.com · OpenIntegrations