UPDATED CI/CD config #2
This commit is contained in:
@@ -7,6 +7,7 @@ stages: # Define the stages of the pipeline.
|
|||||||
web-build: # This job runs in the build stage, which runs first.
|
web-build: # This job runs in the build stage, which runs first.
|
||||||
stage: build
|
stage: build
|
||||||
image: node:24
|
image: node:24
|
||||||
|
parallel: 2
|
||||||
script:
|
script:
|
||||||
- cd Web
|
- cd Web
|
||||||
- npm install
|
- npm install
|
||||||
@@ -18,6 +19,7 @@ web-build: # This job runs in the build stage, which runs first.
|
|||||||
api-build:
|
api-build:
|
||||||
stage: build
|
stage: build
|
||||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
|
parallel: 2
|
||||||
script:
|
script:
|
||||||
- cd Api
|
- cd Api
|
||||||
- dotnet publish Api.csproj --output ./build --runtime linux-x64 --configuration Release --self-contained true
|
- dotnet publish Api.csproj --output ./build --runtime linux-x64 --configuration Release --self-contained true
|
||||||
|
|||||||
Reference in New Issue
Block a user