@webqit/webflo 0.8.52 → 0.8.53-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -141,8 +141,11 @@ export async function deploy(Ui, origin, flags = {}, layout = {}) {
|
|
|
141
141
|
export async function hook(Ui, event, deployCallback, flags = {}, layout = {}) {
|
|
142
142
|
const eventHandler = Webhooks.createEventHandler();
|
|
143
143
|
if (event.request.headers['user-agent'] && event.request.headers['user-agent'].startsWith('GitHub-Hookshot/')) {
|
|
144
|
+
console.log('-------------------------111111111111111111')
|
|
144
145
|
const submits = await event.request.parse();
|
|
146
|
+
console.log('-------------------------submits', submits)
|
|
145
147
|
const matches = (await origins.match(submits.payload.repository.full_name, flags, layout)).filter(o => o.autodeploy);
|
|
148
|
+
console.log('-------------------------matches', matches)
|
|
146
149
|
var deployParams;
|
|
147
150
|
if (!(deployParams = matches[0])) {
|
|
148
151
|
return;
|