Skip to content

Instantly share code, notes, and snippets.

@bobby5892
Created June 28, 2020 03:02
Show Gist options
  • Select an option

  • Save bobby5892/717b8225ffda23cc83654f00d28f5ace to your computer and use it in GitHub Desktop.

Select an option

Save bobby5892/717b8225ffda23cc83654f00d28f5ace to your computer and use it in GitHub Desktop.
version: 0.2
phases:
pre_build:
commands:
- echo Restore started on `date`
- dotnet restore AuthenticationService/AuthenticationService.csproj
- echo End of PreBuild
build:
commands:
- echo Build started on `date`
- dotnet publish -c release -o ./build_output AuthenticationService/AuthenticationService.csproj
- echo End of build
artifacts:
files:
- build_output/**/*
- scripts/**/*
- appspec.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment