From 76053e676b35bcec12be5b01a9e6447110cc6bf8 Mon Sep 17 00:00:00 2001 From: gitlab Date: Wed, 24 Mar 2021 16:11:55 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea44d2c..5ff9020 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,10 +13,8 @@ before_script: build_job: stage: build - only: - - developer #this branch will run on GitLab Runner and can change it. script: - - '& "\$env:MSBUILD_PATH" LPA/LPA.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ ' + - '& "\$env:MSBUILD_PATH" LPA/LPA.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/' artifacts: expire_in: 365 days #artifcats will be stored only 365 days after this it will expire @@ -26,7 +24,5 @@ build_job: deploy_job: stage: deploy - only: - - developer #this branch will run on GitLab Runner and can change it. script: - 'xcopy /y /s ".\sourcecode\project.sln\bin\Release\Publish\*.*" "C:\solutionDir"' #Path where you want to store the solution