From a3c375ede5532a61e05ea5bcebbbfd2a5fb30baf Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 22 Mar 2024 02:18:47 +0800 Subject: [PATCH] chore: --- deploy.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) } }