Title: Deploy Trigger for GitHub
Author: Facundo
Published: <strong>15 de setembre de 2025</strong>
Last modified: 15 de setembre de 2025

---

Cerca extensions

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

# Deploy Trigger for GitHub

 Per [Facundo](https://profiles.wordpress.org/facudev/)

[Baixa](https://downloads.wordpress.org/plugin/deploy-trigger-for-github.zip)

 * [Detalls](https://ca.wordpress.org/plugins/deploy-trigger-for-github/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/deploy-trigger-for-github/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/deploy-trigger-for-github/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/deploy-trigger-for-github/#developers)

 [Suport](https://wordpress.org/support/plugin/deploy-trigger-for-github/)

## Descripció

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.

 * Triggers a GitHub Actions workflow on post save or delete
 * Manual deploy/reset options from the settings page
 * Securely stores your GitHub token
 * Works with any post type

### External services

This plugin connects to the GitHub API to trigger GitHub Actions workflows. This
service is required to automatically deploy your site when content changes.

The plugin sends the following data to GitHub’s API:
 – Repository information (
user/repo format) – Workflow filename – Branch reference (default: main) – GitHub
personal access token for authentication

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.

This service is provided by GitHub, Inc.:
 – Terms of Service: https://docs.github.
com/en/site-policy/github-terms/github-terms-of-service – Privacy Policy: https://
docs.github.com/en/site-policy/privacy-policies/github-privacy-statement

## Instal·lació

 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.

## PMF

### 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.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Deploy Trigger for GitHub» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

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

[Traduïu «Deploy Trigger for GitHub» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/deploy-trigger-for-github)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/deploy-trigger-for-github/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/deploy-trigger-for-github/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/deploy-trigger-for-github/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/deploy-trigger-for-github/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.4

 * Fixed WordPress.org compliance issues
 * Updated text domain to match plugin slug (deploy-trigger-for-github)
 * Renamed all functions and options with unique prefix (depltrfo_)
 * Added external services documentation for GitHub API
 * Improved code structure and naming conventions

#### 1.3

 * Improved error handling and logging
 * Updated documentation

#### 1.2

 * Added reset button to clear plugin data
 * Improved code structure and security

#### 1.1

 * Added support for post deletion trigger

#### 1.0

 * Initial release

## Meta

 *  Versió **1.4**
 *  Darrera actualització **fa 10 mesos**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 5.0 o posterior **
 *  Provada fins a **6.8.5**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/deploy-trigger-for-github/)
 * Etiquetes
 * [actions](https://ca.wordpress.org/plugins/tags/actions/)[deploy](https://ca.wordpress.org/plugins/tags/deploy/)
   [Github](https://ca.wordpress.org/plugins/tags/github/)[headless](https://ca.wordpress.org/plugins/tags/headless/)
   [workflow](https://ca.wordpress.org/plugins/tags/workflow/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/deploy-trigger-for-github/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/deploy-trigger-for-github/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/deploy-trigger-for-github/)