Skip to content

Commit 57cdf78

Browse files
committed
fix(ci): update env vars
1 parent 07a994b commit 57cdf78

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.gitlab-ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
stages:
22
- build
3+
- deploy
34

45
before_script:
5-
- 'whoami'
66
- 'sudo dotnet restore'
77

88
build:
99
stage: build
1010
script:
1111
- 'dotnet pack ./src/JsonApiDotNetCore -c Release -o ./artifacts'
12-
- 'mono /bin/NuGet.exe push ./artifacts/*.nupkg %NugetAPIKey% -Source %NugetSource%'
1312
only:
14-
- master
13+
- master
14+
15+
publish:
16+
stage: deploy
17+
script:
18+
- 'mono /bin/NuGet.exe push ./artifacts/*.nupkg $NUGET_KEY -Source $NUGET_SOURCE'
19+
only:
20+
- tags

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![build status](https://gitlab.cmh.edu/jcnance/JsonApiDotnetCore/badges/master/build.svg)](https://gitlab.cmh.edu/jcnance/JsonApiDotnetCore/commits/master)
2+
13
# Task List
24

35
- [x] Add inbound serialization formatting

0 commit comments

Comments
 (0)