diff --git a/.github/workflows/admin-sample.cd.yml b/.github/workflows/admin-sample.cd.yml index 8f5495bd69..258f2d3591 100644 --- a/.github/workflows/admin-sample.cd.yml +++ b/.github/workflows/admin-sample.cd.yml @@ -40,7 +40,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'AdminPanel/src/Client/AdminPanel.Client.Core/appsettings.json' + files: 'AdminPanel/src/Client/AdminPanel.Client.Core/appsettings.json, AdminPanel/src/AdminPanel.Shared/appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }} @@ -141,7 +141,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'AdminPanel\src\Client\AdminPanel.Client.Core\appsettings.json' + files: 'AdminPanel\src\Client\AdminPanel.Client.Core\appsettings.json, AdminPanel\src\AdminPanel.Shared\appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} WindowsUpdateSettings.FilesUrl: https://windows-adminpanel.bitplatform.dev @@ -213,7 +213,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'AdminPanel/src/Client/AdminPanel.Client.Core/appsettings.json' + files: 'AdminPanel/src/Client/AdminPanel.Client.Core/appsettings.json, AdminPanel/src/AdminPanel.Shared/appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }} @@ -274,7 +274,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'AdminPanel/src/Client/AdminPanel.Client.Core/appsettings.json' + files: 'AdminPanel/src/Client/AdminPanel.Client.Core/appsettings.json, AdminPanel/src/AdminPanel.Shared/appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }} diff --git a/.github/workflows/todo-sample.cd.yml b/.github/workflows/todo-sample.cd.yml index 32ed86ed33..1d240f80e0 100644 --- a/.github/workflows/todo-sample.cd.yml +++ b/.github/workflows/todo-sample.cd.yml @@ -43,7 +43,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'TodoSample/src/Client/TodoSample.Client.Core/appsettings.json' + files: 'TodoSample/src/Client/TodoSample.Client.Core/appsettings.json, TodoSample/src/TodoSample.Shared/appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }} @@ -157,7 +157,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'TodoSample\src\Client\TodoSample.Client.Core\appsettings.json' + files: 'TodoSample\src\Client\TodoSample.Client.Core\appsettings.json, TodoSample\src\TodoSample.Shared\appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} WindowsUpdateSettings.FilesUrl: https://windows-todo.bitplatform.dev @@ -229,7 +229,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'TodoSample/src/Client/TodoSample.Client.Core/appsettings.json' + files: 'TodoSample/src/Client/TodoSample.Client.Core/appsettings.json, TodoSample/src/TodoSample.Shared/appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }} @@ -310,7 +310,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'TodoSample/src/Client/TodoSample.Client.Core/appsettings.json' + files: 'TodoSample/src/Client/TodoSample.Client.Core/appsettings.json, TodoSample/src/TodoSample.Shared/appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }} diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.azure-devops/workflows/cd.yml b/src/Templates/Boilerplate/Bit.Boilerplate/.azure-devops/workflows/cd.yml index c0874b649d..d11ffa11a8 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/.azure-devops/workflows/cd.yml +++ b/src/Templates/Boilerplate/Bit.Boilerplate/.azure-devops/workflows/cd.yml @@ -50,7 +50,7 @@ jobs: inputs: fileType: 'json' folderPath: './' - targetFiles: 'src/Client/Boilerplate.Client.Core/appsettings.json' + targetFiles: 'src/Client/Boilerplate.Client.Core/appsettings.json, src/Boilerplate.Shared/appsettings.json' - task: Bash@3 displayName: 'Generate CSS/JS files' @@ -168,7 +168,7 @@ jobs: inputs: fileType: 'json' folderPath: './' - targetFiles: 'src/Client/Boilerplate.Client.Core/appsettings.json' + targetFiles: 'src/Client/Boilerplate.Client.Core/appsettings.json, src/Boilerplate.Shared/appsettings.json' - task: Bash@3 displayName: 'Generate CSS/JS files' @@ -250,7 +250,7 @@ jobs: inputs: fileType: 'json' folderPath: './' - targetFiles: 'src/Client/Boilerplate.Client.Core/appsettings.json' + targetFiles: 'src/Client/Boilerplate.Client.Core/appsettings.json, src/Boilerplate.Shared/appsettings.json' - script: | dotnet build src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj -t:BeforeBuildTasks --no-restore -c Release diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.github/workflows/cd.yml b/src/Templates/Boilerplate/Bit.Boilerplate/.github/workflows/cd.yml index aab767da77..4b4edc8d03 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/.github/workflows/cd.yml +++ b/src/Templates/Boilerplate/Bit.Boilerplate/.github/workflows/cd.yml @@ -41,7 +41,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'src/Client/Boilerplate.Client.Core/appsettings.json' + files: 'src/Client/Boilerplate.Client.Core/appsettings.json, src/Boilerplate.Shared/appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} @@ -146,7 +146,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'src\Client\Boilerplate.Client.Core\appsettings.json' + files: 'src\Client\Boilerplate.Client.Core\appsettings.json, src\Boilerplate.Shared\appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} WindowsUpdateSettings.FilesUrl: 'https://use-your-server-url-here.com/windows' # Deploy the published Windows application files to your desired hosting location and use the host url here. @@ -207,7 +207,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'src/Client/Boilerplate.Client.Core/appsettings.json' + files: 'src/Client/Boilerplate.Client.Core/appsettings.json, src/Boilerplate.Shared/appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }} @@ -259,7 +259,7 @@ jobs: - name: Update core appsettings.json uses: devops-actions/variable-substitution@v1.2 with: - files: 'src/Client/Boilerplate.Client.Core/appsettings.json' + files: 'src/Client/Boilerplate.Client.Core/appsettings.json, src/Boilerplate.Shared/appsettings.json' env: ApiServerAddress: ${{ env.API_SERVER_ADDRESS }}