From 2cbbc25af96b8d2af0e01e4bbc215609b3c7b6b3 Mon Sep 17 00:00:00 2001 From: Filip Bekic Date: Wed, 23 Oct 2024 10:51:48 +0200 Subject: [PATCH] test --- .github/workflows/deploy.yaml | 13 +++++++++++++ backend/ResQueue/ResQueue/ResQueue.csproj | 18 +++++++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e555c93..a58ad3e 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -23,6 +23,19 @@ jobs: with: node-version: 20.x + - name: Install Node dependencies + working-directory: frontend + run: npm ci + + - name: Build Vue frontend + working-directory: frontend + run: npm run build:prod + + - name: Copy Vue dist to wwwroot + run: | + rm -rf backend/ResQueue/ResQueue/wwwroot + cp -R frontend/dist backend/ResQueue/ResQueue/wwwroot + - name: Build the project working-directory: backend/ResQueue/ResQueue run: dotnet build --configuration Release diff --git a/backend/ResQueue/ResQueue/ResQueue.csproj b/backend/ResQueue/ResQueue/ResQueue.csproj index a75bd22..0a04184 100644 --- a/backend/ResQueue/ResQueue/ResQueue.csproj +++ b/backend/ResQueue/ResQueue/ResQueue.csproj @@ -33,15 +33,15 @@ true - - - - - - - - - + + + + + + + + +