seagyn/wp-buildhook-deploy
Composer 安装命令:
composer require seagyn/wp-buildhook-deploy
包简介
README 文档
README
This plugin was formerly know as "LittleBot Netlify". It was renamed to avoid confusion as it can be used to trigger build hooks at, say, AWS Amplify, GitHub or any service that provides a WebHook – not just Netlify.
Connect your WordPress website to Netlify (or any service that provides a buildhook) by triggering stage and or production build hooks on post save and or update. This plugin is not tied to Netlify, you can connect other CI systems with webhooks enabled like CircleCI, Travis, AWS Amplify, etc.
Installation
- Download or clone repository
- Move
wp-buildhook-deployto your plugins directory or zip and upload - Activate plugin
- Add at least one buildhook URL to the setings page
Settings > WP BuildHook Deploy
Using Netlify? (It's awesome BTW)
- Create at least one site at Netlify
- Create a build hook for each site (or just one if you're just using one site)
- Add build hook to the
Settings > WP BuildHook Deploy - Your WordPress site will call your build hook(s) when publishing, updating or deleting a post
Gatsby + WordPress + Netlify Starter
Gatsby + WordPress + Netlify Starter is a plug and play starter to get up and running with continuous deployment from your WordPress site to Netlify with Gatsby.
Gatsty + WordPress + Live Previews
Checkout this Gatsby theme. This could also be used with this plugin to publish to Netlify, AWS Amplify etc when publishing/updating/deleting/etc WordPress Posts/pages.
Q & A
Q Do you need two sites at Netlify?
A No. This plugin will call your build hook and build your Gatsby (or whatever) site no matter what. The starter mentioned above facilitates a two environment Gatsby set up but other than that, this plugin is totally front end agnostic and you could just as easy trigger one build hook by only adding one build hook URL.
Q Does this plugin support Gutenberg?
A This plugin supports both GutenLOVERS and GutenHATERS. How? It supports Gutenberg as that is what the WordPress editing experience is now. Don't like Gutenberg? This plugin also supports the Classic Editor.
Q Can I use this plugin with other similar system to Netlify like for example AWS Amplify?
A YES. You can use a CI like Amplify, Circle, Travis etc. Depending on what you are trying to do, the plugin may still work as it just calls a webhook URL with some logic around various publishing hooks.
seagyn/wp-buildhook-deploy 适用场景与选型建议
seagyn/wp-buildhook-deploy 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 22 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 09 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 seagyn/wp-buildhook-deploy 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 seagyn/wp-buildhook-deploy 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-09-24