Linux 软件免费装

Deploy Trigger for GitHub

开发者 facudev
更新时间 2025年9月16日 02:23
PHP版本: 5.0 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

actions workflow github deploy headless

下载

详情介绍:

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.

安装:

  1. Upload the plugin files to the /wp-content/plugins/wc-github-deployer directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Create a GitHub Personal Access Token in your GitHub account with 'repo' permissions for the target repository.
  4. Go to 'Settings' > 'GitHub Deploy' and configure your GitHub token, repository, workflow filename, and branch.
  5. Save changes. The plugin will now trigger your workflow on post save or delete.

升级注意事项:

1.4 WordPress.org compliance update - fixes text domain, function naming, and adds external services documentation. 1.3 Recommended update from plugin check before submit the plugin on WordPress.org.

常见问题:

Is my GitHub token safe?

Yes, your token is stored securely in the WordPress options table and never displayed in plain text.

Can I trigger the deploy manually?

Yes, there is a button on the settings page to manually trigger the deploy.

Does it work with custom post types?

Yes, it works with any post type.

更新日志:

1.4 1.3 1.2 1.1 1.0