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 792600b49d
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -10,7 +10,7 @@ agent any
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 'mkdir -p .next/standalone/public/_next && cp -r .next/static .next/standalone/public/_next/'
sh ' tar -C .next -cf subman.tar.gz standalone ' sh ' tar -C .next -cf subman.tar.gz standalone '
} }
} }