From ef85aba244bb7b2095b65f23a3dc1e3a2a16c152 Mon Sep 17 00:00:00 2001 From: andrzej Date: Thu, 3 Oct 2024 18:36:24 +0200 Subject: [PATCH] fix: delete old standalone folder before making new one! --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index a3d3e4a..03f537c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ agent any steps{ sh 'npm install' sh 'npm run build' - sh 'mkdir standalone' + sh 'rm -r standalone && mkdir standalone' sh 'cp -r public standalone/' sh 'cp -r prisma standalone/' sh 'cp -r .next/static standalone/.next/'