Why is no action in the pipline after i commit and push my application on our company server?
I also have a valid .gitlab-ci.yml file and see no error at production logs
Here is the gitlab-ci.yml file:
variables: EXE_RELEASE_FOLDER: 'deploymenttemplatewindowsdesktopconsoleapplications\bin\Release' DEPLOY_FOLDER: 'D:\Test\deploymenttemplatewindowsdesktopconsoleapplications\Builds' NUGET_PATH: 'C:\NuGet\nuget.exe' stages: - build - deploy build_job: stage: build only: - tags # the build process will only be started by git tag commits script: - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies artifacts: expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on paths: - '$env:EXE_RELEASE_FOLDER\ deploymenttemplatewindowsdesktopconsoleapplications.exe' # saving exe to copy to deploy folder deploy_job: stage: deploy only: - tags script: # Compose a folder for each release based on commit tag. # Assuming your tag is Rev188.8.131.52, and your last commit message is 'First commit' # the artifact files will be copied to: # P:\Projects\YourApp\Builds\Rev184.108.40.206 - First commit\ - '$commitSubject = git log -1 --pretty=%s' - '$deployFolder = $($env:DEPLOY_FOLDER) + "\" + $($env:CI_BUILD_TAG) + " - " + $commitSubject + "\"' # xcopy takes care of recursively creating required folders - 'xcopy /y ".\$env:EXE_RELEASE_FOLDER\YourApp.exe" "$deployFolder"' dependencies: - build_job
Is there some importent setting on server side if i have added this file?
Thank you in advance