mirror of https://github.com/certd/certd
chore:
parent
754e76d9b9
commit
a3c375ede5
|
@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue