From 8836b7111137b50d5d37aa8f0a95e15bf065958b Mon Sep 17 00:00:00 2001 From: andrzej Date: Thu, 3 Oct 2024 11:51:47 +0200 Subject: [PATCH] copy public and static --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 1508205..efe56d9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,6 +9,8 @@ agent any steps{ sh 'npm install' sh 'npm run build' + sh 'cp -r public .next/standalone' + sh 'cp -r .next/static .next/standalone/.next' sh ' tar -C .next -cf subman.tar.gz standalone ' } }