fix: delete old standalone folder before making new one!
Gitea/subman-nextjs/pipeline/head There was a failure building this commit Details

This commit is contained in:
andrzej 2024-10-03 18:36:24 +02:00
parent 9179aab7d4
commit ef85aba244
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -9,7 +9,7 @@ agent any
steps{ steps{
sh 'npm install' sh 'npm install'
sh 'npm run build' sh 'npm run build'
sh 'mkdir standalone' sh 'rm -r standalone && mkdir standalone'
sh 'cp -r public standalone/' sh 'cp -r public standalone/'
sh 'cp -r prisma standalone/' sh 'cp -r prisma standalone/'
sh 'cp -r .next/static standalone/.next/' sh 'cp -r .next/static standalone/.next/'