fix: update backend project references in deployment workflow
This commit is contained in:
@@ -66,10 +66,10 @@ jobs:
|
|||||||
- name: Install Dependencies and Build
|
- name: Install Dependencies and Build
|
||||||
run: |
|
run: |
|
||||||
echo "Restoring backend NuGet packages..."
|
echo "Restoring backend NuGet packages..."
|
||||||
dotnet restore backend/JoaoLoureiro.Portfolio.slnx
|
dotnet restore backend/JoaoLoureiro.Portfolio.Api/JoaoLoureiro.Portfolio.Api.csproj
|
||||||
|
|
||||||
echo "Building and publishing backend..."
|
echo "Building and publishing backend..."
|
||||||
dotnet publish backend/JoaoLoureiro.Portfolio.slnx --configuration Release --output ./publish
|
dotnet publish backend/JoaoLoureiro.Portfolio.Api/JoaoLoureiro.Portfolio.Api.csproj --configuration Release --output ./publish
|
||||||
|
|
||||||
echo "Installing frontend dependencies..."
|
echo "Installing frontend dependencies..."
|
||||||
cd frontend && npm install
|
cd frontend && npm install
|
||||||
|
|||||||
Reference in New Issue
Block a user