From 81f6b2d6ecc87b1832300edfb0fabb3650edea32 Mon Sep 17 00:00:00 2001 From: Darren Reid Date: Wed, 4 Dec 2024 12:19:25 +1100 Subject: [PATCH] Update build-container.yml --- .github/workflows/build-container.yml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index c226633..a5fd4cd 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -42,20 +42,6 @@ jobs: echo "HAS_DEPLOY_ACTION=false" >> $GITHUB_ENV fi - # This step is for the deployment of the templates only, safe to delete - - name: Modify csproj for template deploy - if: env.HAS_DEPLOY_ACTION == 'true' - run: | - sed -i 's###g' MyApp/MyApp.csproj - - - name: Check for Client directory and package.json - id: check_client - run: | - if [ -d "MyApp.Client" ] && [ -f "MyApp.Client/package.json" ]; then - echo "client_exists=true" >> $GITHUB_OUTPUT - else - echo "client_exists=false" >> $GITHUB_OUTPUT - fi - name: Setup Node.js if: steps.check_client.outputs.client_exists == 'true' @@ -63,17 +49,12 @@ jobs: with: node-version: 22 - - name: Install npm dependencies - if: steps.check_client.outputs.client_exists == 'true' - working-directory: ./MyApp.Client - run: npm install - - name: Install x tool run: dotnet tool install -g x - name: Apply Production AppSettings if: env.HAS_APPSETTINGS_PATCH == 'true' - working-directory: ./MyApp + working-directory: ./AiServer run: | cat <> appsettings.json.patch ${{ secrets.APPSETTINGS_PATCH }}