Skip to content

Commit 02556d3

Browse files
Gimlythinkingserious
authored andcommitted
Adds deploy phase that deploys to NuGet (#753)
1 parent 079b37e commit 02556d3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ script:
3535
after_success:
3636
- bash <(curl -s https://codecov.io/bash)
3737

38+
deploy:
39+
skip_cleanup: true
40+
provider: script
41+
script: dotnet nuget push ./src/Sendgrid/bin/Release/SendGrid.*.nupkg --api-key $NUGET_API_KEY --source $NUGET_SOURCE
42+
on:
43+
branch: master
44+
condition: '"x$NUGET_API_KEY" != "x" && "x$NUGET_SOURCE" != "x"'
45+
3846
notifications:
3947
hipchat:
4048
rooms:

0 commit comments

Comments
 (0)