Skip to content

Commit cb975ec

Browse files
committed
fix(ci): gitlab deletes artifacts between builds
1 parent 80115ed commit cb975ec

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ build:
99
stage: build
1010
script:
1111
- 'dotnet pack ./src/JsonApiDotNetCore -c Release -o ./artifacts'
12+
- 'mono /bin/NuGet.exe push artifacts/*.nupkg $NUGET_KEY -Source $NUGET_SOURCE'
1213
only:
1314
- 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-
- master
15+

0 commit comments

Comments
 (0)