Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kmturley/wordpress-bitbucket-trigger-pipeline
Wordpress Plugin triggers a BitBucket Pipeline when user publishes a post (using environment variables BITBUCKET_PROJECT, BITBUCKET_USERNAME and BITBUCKET_PASSWORD)
https://github.com/kmturley/wordpress-bitbucket-trigger-pipeline
Last synced: 2 months ago
JSON representation
Wordpress Plugin triggers a BitBucket Pipeline when user publishes a post (using environment variables BITBUCKET_PROJECT, BITBUCKET_USERNAME and BITBUCKET_PASSWORD)
- Host: GitHub
- URL: https://github.com/kmturley/wordpress-bitbucket-trigger-pipeline
- Owner: kmturley
- License: mit
- Created: 2018-07-12T17:01:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-21T00:33:10.000Z (over 3 years ago)
- Last Synced: 2024-05-02T00:59:49.961Z (9 months ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wordpress-bitbucket-trigger-pipeline
Wordpress Plugin which triggers a BitBucket Pipeline when user publishes a post. Ideal for static generation tasks. For use with:
* Wordpress
* BitBucket## Installation
Clone the repository to your Wordpress plugins folder at:
/wp-content/plugins/wordpress-bitbucket-trigger-pipeline/
Activate the plugin via the wordpress interface at:
http://localhost:8080/wp-admin/plugins.php
Go to your BitBucket project and generate an App Password using the guide:
https://blog.bitbucket.org/2016/06/06/app-passwords-bitbucket-cloud/
Set the BitBucket variables in the 'Settings' > 'General' section on WordPress, using your BitBucket project, branch, username and app password:
BITBUCKET PROJECT: XX
BITBUCKET BRANCH: XX
BITBUCKET USERNAME: XX
BITBUCKET APP PASSWORD: XX## Usage
Go to your Wordpress Admin for posts:
http://localhost:8080/wp-admin/edit.php
Publish an existing or new post and then check BitBucket pipeline to see it triggered.
## Directory structure
bitbucket-trigger-pipeline.php --> Wordpress Plugin Code
readme.txt --> Wordpress Plugin Readme## Contact
For more information please contact kmturley