develop #9

Merged
rajukottedi merged 9 commits from develop into prod 2026-02-16 20:05:59 +05:30
Showing only changes of commit 1bec713692 - Show all commits

2
Jenkinsfile vendored
View File

@ -32,7 +32,6 @@ pipeline {
stage('Build Angular') { stage('Build Angular') {
steps { steps {
sh ''' sh '''
rm -rf $DEPLOY_PATH/*
ng build --configuration production --base-href /admin/ ng build --configuration production --base-href /admin/
''' '''
} }
@ -41,6 +40,7 @@ pipeline {
stage('Deploy') { stage('Deploy') {
steps { steps {
sh ''' sh '''
rm -rf $DEPLOY_PATH/*
cp -r dist/portfolio-admin/browser/* $DEPLOY_PATH/ cp -r dist/portfolio-admin/browser/* $DEPLOY_PATH/
chown -R www-data:www-data $DEPLOY_PATH chown -R www-data:www-data $DEPLOY_PATH
systemctl reload nginx systemctl reload nginx