diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e66a9a..742ac3b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,6 @@ stages: # Define the stages of the pipeline. web-build: # This job runs in the build stage, which runs first. stage: build image: node:24 - parallel: 2 script: - cd Web - npm install @@ -15,11 +14,13 @@ web-build: # This job runs in the build stage, which runs first. artifacts: # Artifacts are files that are passed between stages. paths: - Web/dist/Web/browser # The 'dist' directory will be available in the next stage. - + when: on_success + access: all + expire_in: 30 days + api-build: stage: build image: mcr.microsoft.com/dotnet/sdk:8.0 - parallel: 2 script: - cd Api - dotnet publish Api.csproj --output ./build --runtime linux-x64 --configuration Release --self-contained true