I'm building my .net core app, and are trying to save the bin-folder as artifacts. I then plan to deploy these artifacts to my web server. So am I even starting the right way? I'm not getting those artifacts saved.
image: microsoft/dotnet:sdk
pipelines:
branches:
feature/*:
- step:
name: build and test
caches:
- dotnetcore
script:
- export PROJECT_NAME=Thh.Diet.Api
- dotnet restore
- dotnet build $PROJECT_NAME
- dotnet publish -c release
artifacts:
- ./$PUBLISH_DIR/**/*
Did you ever figure this out? Looking to do the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.