change static directory
Gitea/subman-nextjs/pipeline/head This commit looks good Details

cf this issue
https://github.com/vercel/next.js/issues/49283
This commit is contained in:
andrzej 2024-10-03 15:49:25 +02:00
parent 8836b71111
commit b9e94257b3
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -9,8 +9,8 @@ agent any
steps{ steps{
sh 'npm install' sh 'npm install'
sh 'npm run build' sh 'npm run build'
sh 'cp -r public .next/standalone' sh 'cp -r public .next/standalone/'
sh 'cp -r .next/static .next/standalone/.next' sh 'cp -r .next/static .next/standalone/.next/'
sh ' tar -C .next -cf subman.tar.gz standalone ' sh ' tar -C .next -cf subman.tar.gz standalone '
} }
} }