Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octahedroid/wp-build-hooks
https://github.com/octahedroid/wp-build-hooks
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/octahedroid/wp-build-hooks
- Owner: octahedroid
- Created: 2020-04-02T19:02:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-09T17:49:36.000Z (about 4 years ago)
- Last Synced: 2023-03-06T11:48:14.811Z (almost 2 years ago)
- Language: PHP
- Size: 280 KB
- Stars: 1
- Watchers: 5
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build Hooks
## Description
This plugin allows you to trigger a build hook on CircleCI and Gatsby Cloud Services.
## CircleCI
### Requirements
### Terminus Secrets Plugin
You should set a secret key named `CIRCLE_CI_TOKEN` containing your CircleCI token value in the live environemt of your wordpress site.
https://github.com/pantheon-systems/terminus-secrets-plugin
### Configure plugin
To configure the build hook on CircleCI we need add some required values.
On the settings page of this plugin, please select `CircleCI` for the Web Hook type.
Followed by the repository in format `/` and the CircleCi Job to execute (e.g `pfe/gatsby_build_and_deploy`).
Save the settings and now we are ready to trigger a build from our wordpress site
In order to verify if the hook is setting up correctly you can check on the build hook page the Current webhook an url similar to this:
```
https://circleci.com/api/v1.1/project/gh///tree/master?circle-token=72************************************fc
```