@ -13,7 +13,7 @@ app.get('/cscclassprofilestaging', async (req, res) => {
await call(`kubectl expose deployment ${name}`);
await call(`kubectl create ingress ${name} --rule='${name}-snedadah.k8s.csclub.cloud/*=${name}:80'`);
res.send('Hello World!')
res.send('Finished redeploy!')
})
async function call(cmd){
@ -0,0 +1,2 @@
npm install
npx forever start csccp.js