diff --git a/deploy.js b/deploy.js index 7950e205..51fd69f3 100644 --- a/deploy.js +++ b/deploy.js @@ -56,7 +56,8 @@ async function sync() { // curl -X PUT https://registry-direct.npmmirror.com/@certd/plugin-cert/sync?sync_upstream=true const certdImageBuild = "http://flow-openapi.aliyun.com/pipeline/webhook/4zgFk3i4RZEMGuQzlOcI" -const webhooks = [certdImageBuild] +const certdImageRun = "http://flow-openapi.aliyun.com/pipeline/webhook/lzCzlGrLCOHQaTMMt0mG" +const webhooks = [certdImageBuild,certdImageRun] async function sleep(time) { return new Promise(resolve => { @@ -78,7 +79,7 @@ async function triggerBuild() { } }) console.log(`webhook success:${webhook}`) - await sleep(1000) + await sleep(10*60*1000) } }