buddy/deploy-buddy

Seamlessly trigger Buddy.works deploys from WordPress.

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 11

Watchers: 3

Forks: 3

Open Issues: 0

Type:wordpress-plugin

1.3.4 2023-04-27 07:20 UTC

README

Stable tag: 1.3.2 Requires at least: 5.0 Tested up to: 5.8 Requires PHP: 7.2 License: GPL v2 or later Tags: ci/cd, deployments, static, developer Contributors: palmiak

Seamlessly trigger Buddy CI/CD deploys from WordPress.

Description

Plugin Installation

  1. Download the latest release.
  2. Upload the plugin in WordPress admin panel.

Updates

To keep this plugin up-to-date, install and configure the Git Updater.

Get your webhook url

  1. Sign in to your Buddy account.
  2. Go to your project and select the pipeline you want to execute using the plugin.
  3. Click Webhook URL in the right sidebar and copy the URL.

Configuration

You can configure the plugin using the UI or by using constants in the wp-config.php file.

Available constants

  • buddy_webhook - default: false - bool - adds the webhook url
  • buddy_manual_deploy - default: true - bool - enables automatic deployments
  • buddy_topbar - default: true - bool - adds the deploy button to the admin bar
  • buddy_manual_deploy_capabilities - default: manage_options - string - capability required to see the deploy button
  • buddy_capabilities_options - default: manage_options - string - capability required to view options panel
  • buddy_automatic_deploy - default: false - bool - enables automatic deployments
  • buddy_automatic_deploy_post_types - default: ['post', 'page'] - array - post types which trigger automatic deployments
  • buddy_automatic_deploy_capabilities - default: manage_options - string - capability required to trigger automatic deployments

Changelog

1.3.3

  • Changed the default value of automatic deployments.

1.3.2

  • More small fixes.

1.3.1

  • Removed development leftovers.

1.3.0

  • Settings screen rewrote to use Gutenberg.

1.2.4

  • Added some missing constatns in readme and in context help.

1.2.3

  • Lots of typos and descriptions fixed - all thanks to @tomekpapiernik.

1.2.2

  • Fixed the problem with Automatic Deployments running twice.

1.2.1

  • Minor coding fix.

1.2.0

  • Added Gutenberg Support - you can trigger the deployment even in Full Screen Mode in Gutenberg.
  • Fixed some typos.

1.1.1

  • Small fix with adding menu button.

1.1.0

  • Moved inline documentation into context help tab.
  • Fixed checkboxes not fully working in some cases.
  • Some other minor fixes.

1.0.0

  • Added a configuration tab. Since now using constants is not required.

0.2.1

  • Fixed a minor bug and a typo in readme.

0.2.0

  • Added automatic deployments.

0.1.5

  • Minor fix for empty webhook.

0.1.4

  • You can install and mange the plugin with composer. Just run composer require buddy/deploy-buddy.

0.1.3

0.1.2

  • Made the admin panel a lot nicer
  • Fixed some minor bugs.

0.1.1

  • Fixed some minor bugs.
  • Plugin is fully translatable

0.1.0

  • Initial release