Commit 78595b01 authored by 温海元's avatar 温海元

remove deploy latest

parent 1ff639f2
...@@ -110,13 +110,13 @@ const deploy = async (cluster) => { ...@@ -110,13 +110,13 @@ const deploy = async (cluster) => {
logger.info('deployLatest job end') logger.info('deployLatest job end')
} }
module.exports = () => { // module.exports = () => {
// schedule.scheduleJob('*/2 * * * *', async () => { // // schedule.scheduleJob('*/2 * * * *', async () => {
schedule.scheduleJob('0 8 * * *', async () => { // schedule.scheduleJob('0 8 * * *', async () => {
try { // try {
await deploy('qa') // await deploy('qa')
} catch (e) { // } catch (e) {
logger.info('deployLatest', e) // logger.info('deployLatest', e)
} // }
}); // });
} // }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment