Skip to content

A simple Wordpress plugin to trigger Bitbucket pipelines.

Notifications You must be signed in to change notification settings

onwp/bitbucket-wordpress-deploy-plugin

 
 

Repository files navigation

BP Deploy - v1.0.2

BP Deploy is a simple Wordpress plugin to trigger Bitbucket pipelines. This plugin enables you to trigger a pipeline, view trigger history and configure the target repository, workspace and branch for your pipeline trigger.

Getting started

  1. Enable pipelines in you Bitbucket repository!
  2. Create a pipeline that triggers on a commit to a branch. Bellow is an example.
pipelines:
  branches:
    master:
      - step:
          script:
            - echo "This script runs only on commit to the main branch."
  1. Create an app password. Navigate to your Bitbucket "Personal settings" and then to the "App passwords" tab. You will need this password later so keep note of it.
  2. Clone the repository into your Wordpress plugin directory.
  3. In your wp-config file define the BP_APP_PASSWORD variable for the app password you created in step 3. define('BP_APP_PASSWORD', 'THE_VALUE');.
  4. Activate the plugin, and navigate to its settings tab. Fill in the fields.
  5. You are ready to trigger deployments.

Notes

  • Uninstalling the plugin will delete the deployment history.
  • This plugin only supports pipelines that trigger on commits to a branch.

About

A simple Wordpress plugin to trigger Bitbucket pipelines.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.3%
  • PHP 16.9%
  • SCSS 11.5%
  • JavaScript 0.3%