Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 49ad0c3

Browse files
Merge pull request #40 from brunohbrito/dev
CD
2 parents 4adf3f2 + e345064 commit 49ad0c3

6 files changed

Lines changed: 8 additions & 21 deletions

File tree

azure-pipelines.pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ jobs:
5959
displayName: 'NPM - Build Prod - AdminUI'
6060
inputs:
6161
command: custom
62-
customCommand: 'run build --prod --base-href=/admin-ui/'
62+
customCommand: 'run build -- --base-href=/admin-ui/'
6363
workingDir: src/Frontend/Jp.AdminUI
6464

6565
- task: Npm@1
6666
displayName: 'NPM - Build Prod - UserManagement'
6767
inputs:
6868
command: custom
69-
customCommand: 'run build --prod --base-href=/user-management/'
69+
customCommand: 'run build -- --base-href=/user-management/'
7070
workingDir: src/Frontend/Jp.UserManagement

azure-pipelines.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -113,30 +113,16 @@ jobs:
113113
displayName: 'NPM - Build Prod - AdminUI'
114114
inputs:
115115
command: custom
116-
customCommand: 'ng build --prod --base-href=/admin-ui/'
116+
customCommand: 'run build -- --base-href=/admin-ui/'
117117
workingDir: src/Frontend/Jp.AdminUI
118118

119119
- task: Npm@1
120120
displayName: 'NPM - Build Prod - UserManagement'
121121
inputs:
122122
command: custom
123-
customCommand: 'ng build --prod --base-href=/user-management/'
123+
customCommand: 'run build -- --base-href=/user-management/'
124124
workingDir: src/Frontend/Jp.UserManagement
125125

126-
- task: CopyFiles@2
127-
displayName: 'COPY - web.config - AdminUI'
128-
inputs:
129-
SourceFolder: '$(Build.Repository.LocalPath)/build/admin-ui'
130-
Contents: 'web.config'
131-
TargetFolder: '$(Build.Repository.LocalPath)/src/Frontend/Jp.AdminUI/dist/'
132-
133-
- task: CopyFiles@2
134-
displayName: 'COPY - web.config - UserManagement'
135-
inputs:
136-
SourceFolder: '$(Build.Repository.LocalPath)/build/user-management'
137-
Contents: 'web.config'
138-
TargetFolder: '$(Build.Repository.LocalPath)/src/Frontend/Jp.UserManagement/dist/'
139-
140126
- task: ArchiveFiles@2
141127
displayName: 'ZIP - AdminUI'
142128
inputs:

src/Frontend/Jp.AdminUI/angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"polyfills": "src/polyfills.ts",
2929
"assets": [
3030
"src/assets",
31-
"src/silent-refresh.html"
31+
"src/silent-refresh.html",
32+
"src/web.config"
3233
],
3334
"styles": [
3435
"src/app/core/preloader/preloader.scss",
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<!-- WEB Config for Argular APPS -->
21
<?xml version="1.0" encoding="utf-8"?>
32
<configuration>
43
<system.web>

src/Frontend/Jp.UserManagement/angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"polyfills": "src/polyfills.ts",
1919
"assets": [
2020
"src/assets",
21-
"src/silent-refresh.html"
21+
"src/silent-refresh.html",
22+
"src/web.config"
2223
],
2324
"styles": [
2425
"node_modules/@coreui/icons/css/coreui-icons.css",
File renamed without changes.

0 commit comments

Comments
 (0)