這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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〉的開發相關工作。

參與者

將〈Deploy Webhook Github Actions〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • First release