|
|
@@ -12,7 +12,7 @@ pipeline {
|
|
|
}
|
|
|
stage('Deploy') {
|
|
|
steps {
|
|
|
- sh 'rsync -av --delete --exclude="web.config" --exclude="ecosystem.config.js" --exclude="restart.ps1" .next/standalone/ ${DEPLOY_FRONTEND}/'
|
|
|
+ sh 'rsync -av --delete --exclude="web.config" --exclude="ecosystem.config.js" --exclude="restart.ps1" --exclude=".env*" .next/standalone/ ${DEPLOY_FRONTEND}/'
|
|
|
sh 'rsync -av --delete .next/static/ ${DEPLOY_FRONTEND}/.next/static/'
|
|
|
sh 'rsync -av --delete public/ ${DEPLOY_FRONTEND}/public/'
|
|
|
}
|