Title: Deploy Webhook Github Actions
Author: nicolasdra
Published: <strong>2023 年 5 月 31 日</strong>
Last modified: 2023 年 5 月 31 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/deploy-webhook-github-actions.svg)

# Deploy Webhook Github Actions

 作者：[nicolasdra](https://profiles.wordpress.org/nicolasdra/)

[下载](https://downloads.wordpress.org/plugin/deploy-webhook-github-actions.zip)

 * [详情](https://cn.wordpress.org/plugins/deploy-webhook-github-actions/#description)
 * [评价](https://cn.wordpress.org/plugins/deploy-webhook-github-actions/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/deploy-webhook-github-actions/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/deploy-webhook-github-actions/#developers)

 [支持](https://wordpress.org/support/plugin/deploy-webhook-github-actions/)

## 描述

### DEPLOY WEBHOOK GITHUB ACTIONS PLUGIN

A WordPress plugin to manually trigger a deploy workflow via the Github Actions 
REST API after updating content.

### FEATURE

Trigger a deploy workflow via Github Actions after updating content. Users with 
manage_capabilities are only allowed to perform the action from the the WordPress
admin menu.

### SETTINGS

Fill out the form with the data required on the Settings Page. Find a reference 
below:

OWNER: The username or organization name that owns the repository.
 REPO: The name
of the repository. WORKFLOW_ID: You can either write the full name of your .yml 
file, ie. “manual-trigger-workflow.yml” or the ID of the workflow that you want 
to trigger. You can find the ID of a workflow by going to the “Actions” tab of your
repository on GitHub, clicking on the name of the workflow, and looking at the URL
of the page. The ID is the number that appears after the last forward slash in the
URL. PERSONAL_ACCESS_TOKEN: A personal access token (PAT) with the repo scope. You
can create a PAT by going to “Settings” > “Developer settings” > “Personal access
tokens” in your GitHub account. REF: The name of your repository’s main branch. 
Important: At the moment the plugin is able to create a webhook for a workflow_dispatch
trigger without inputs. This feature is planned for later versions.

### TO DO

Add feature: accept inputs.

### AUTHOR

Created by Nicolás di Rago.
 https://www.nicolasdirago.com/

## 安装

You can install “Github Actions Webhook Deploy Plugin” manually.

 * Download or clone the plugin from the repository
 * Create a .zip file
 * Login to your WordPress site and move to Plugins -> Add new -> Upload plugin
 * Upload the newly created .zip file on your machine, activate and enjoy.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Deploy Webhook Github Actions」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ nicolasdra ](https://profiles.wordpress.org/nicolasdra/)

[帮助将「Deploy Webhook Github Actions」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/deploy-webhook-github-actions)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/deploy-webhook-github-actions/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/deploy-webhook-github-actions/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/deploy-webhook-github-actions/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/deploy-webhook-github-actions/)。

## 更新日志

#### 1.0.0

 * First release

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**3 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/deploy-webhook-github-actions/)
 * 标签
 * [deploy](https://cn.wordpress.org/plugins/tags/deploy/)[github actions](https://cn.wordpress.org/plugins/tags/github-actions/)
   [hooks](https://cn.wordpress.org/plugins/tags/hooks/)
 *  [高级视图](https://cn.wordpress.org/plugins/deploy-webhook-github-actions/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/deploy-webhook-github-actions/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/deploy-webhook-github-actions/reviews/)

## 贡献者

 *   [ nicolasdra ](https://profiles.wordpress.org/nicolasdra/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/deploy-webhook-github-actions/)