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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.