{"id":242659,"date":"2025-09-15T18:23:56","date_gmt":"2025-09-15T18:23:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/deploy-trigger-for-github\/"},"modified":"2025-09-15T18:23:40","modified_gmt":"2025-09-15T18:23:40","slug":"deploy-trigger-for-github","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/deploy-trigger-for-github\/","author":23330595,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4","stable_tag":"trunk","tested":"6.8.5","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Deploy Trigger for GitHub","header_author":"facudev","header_description":"Trigger GitHub Actions workflow from WordPress when a post is saved or deleted.","assets_banners_color":"","last_updated":"2025-09-15 18:23:40","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":212,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.4":"<p>WordPress.org compliance update - fixes text domain, function naming, and adds external services documentation.<\/p>","1.3":"<p>Recommended update from plugin check before submit the plugin on WordPress.org.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2423,19981,1673,141196,8197],"plugin_category":[],"plugin_contributors":[247911],"plugin_business_model":[],"class_list":["post-242659","plugin","type-plugin","status-publish","hentry","plugin_tags-actions","plugin_tags-deploy","plugin_tags-github","plugin_tags-headless","plugin_tags-workflow","plugin_contributors-facudev","plugin_committers-facudev"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/deploy-trigger-for-github.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Easily trigger a GitHub Actions workflow from your WordPress site whenever a post is created, updated, or deleted. Perfect for headless WordPress setups to automate frontend deployments and keep your site in sync.<\/p>\n\n<ul>\n<li>Triggers a GitHub Actions workflow on post save or delete<\/li>\n<li>Manual deploy\/reset options from the settings page<\/li>\n<li>Securely stores your GitHub token<\/li>\n<li>Works with any post type<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the GitHub API to trigger GitHub Actions workflows. This service is required to automatically deploy your site when content changes.<\/p>\n\n<p>The plugin sends the following data to GitHub's API:\n- Repository information (user\/repo format)\n- Workflow filename\n- Branch reference (default: main)\n- GitHub personal access token for authentication<\/p>\n\n<p>This data is sent every time a post is created, updated, or deleted (when the post status is 'publish'). The GitHub token is stored securely in your WordPress database and is never displayed in plain text.<\/p>\n\n<p>This service is provided by GitHub, Inc.:\n- Terms of Service: https:\/\/docs.github.com\/en\/site-policy\/github-terms\/github-terms-of-service\n- Privacy Policy: https:\/\/docs.github.com\/en\/site-policy\/privacy-policies\/github-privacy-statement<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/wc-github-deployer<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Create a GitHub Personal Access Token in your GitHub account with 'repo' permissions for the target repository.<\/li>\n<li>Go to 'Settings' &gt; 'GitHub Deploy' and configure your GitHub token, repository, workflow filename, and branch.<\/li>\n<li>Save changes. The plugin will now trigger your workflow on post save or delete.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='is%20my%20github%20token%20safe%3F'><h3>Is my GitHub token safe?<\/h3><\/dt>\n<dd><p>Yes, your token is stored securely in the WordPress options table and never displayed in plain text.<\/p><\/dd>\n<dt id='can%20i%20trigger%20the%20deploy%20manually%3F'><h3>Can I trigger the deploy manually?<\/h3><\/dt>\n<dd><p>Yes, there is a button on the settings page to manually trigger the deploy.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20custom%20post%20types%3F'><h3>Does it work with custom post types?<\/h3><\/dt>\n<dd><p>Yes, it works with any post type.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fixed WordPress.org compliance issues<\/li>\n<li>Updated text domain to match plugin slug (deploy-trigger-for-github)<\/li>\n<li>Renamed all functions and options with unique prefix (depltrfo_)<\/li>\n<li>Added external services documentation for GitHub API<\/li>\n<li>Improved code structure and naming conventions<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Improved error handling and logging<\/li>\n<li>Updated documentation<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added reset button to clear plugin data<\/li>\n<li>Improved code structure and security<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added support for post deletion trigger<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Trigger GitHub Actions workflows from WordPress when content changes. Perfect for headless WordPress setups.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/242659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=242659"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/facudev"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=242659"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=242659"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=242659"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=242659"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=242659"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=242659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}