Skip to content

A serverless plugin to run 'dotnet' commands as part of the deploy process

License

Notifications You must be signed in to change notification settings

fruffin/serverless-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless DotNet

serverless npm version license

A Serverless v1.0 plugin to build your C# lambda functions on deploy.

This plugin is for you if you don't want to have to run dotnet restore, dotnet publish and zip the output manually every time you want to deploy.

Install

npm install serverless-dotnet

Add the plugin to your serverless.yml file:

plugins:
  - serverless-dotnet

And that's all there is to it. From this point, dotnet restore and dotnet publish will run as part of each serverless deploy run and the output will be zipped into the .serverless folder of your service, as it would for other runtimes.

Note

If you are using the aws-csharp service template, you will need to remove the following line from your serverless.yml file as these are not needed any more:

package:
 artifact: bin/Release/netcoreapp1.0/publish/deploy-package.zip

About

A serverless plugin to run 'dotnet' commands as part of the deploy process

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published