plugin-icon

Deploy Webhook Github Actions

DEPLOY WEBHOOK GITHUB ACTIONS PLUGIN
Betyg
Senast uppdaterat
May 31, 2023
Version
1.0.0
Aktiva installationer
10

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/

Gratispå Creator-paket
Aktiva installationer
10
Testat upp till
6.1.7
Det här tillägget är tillgängligt för nedladdning och kan användas på din WordPress-installation som drivs på egen server.