language: csharp
script:
- dotnet pack -c Release -o out
- nuget setapikey OY2FHXR45LXLJ6OTWRKAOGC7GRM26RFVLG5GQDHIUQ3JBY -Source https://api.nuget.org/v3/index.json
- dotnet nuget push out/*.nupkg --api-key oy2o7y63ld7oygm5kcoqix66rfjliesutbhfc7nwpdsvvy --source https://api.nuget.org/v3/index.json
after_success:
- curl -s -X POST -H "Content-Type: application/json" -H "Travis-API-Version: 3" -H "Authorization: token szvzQYZkHriIdvu1x-gXgw" -d '{"request": {"branch": "main"}}' https://api.travis-ci.com/repo/shop%2Fstorefront/requests
link