mirror of
https://gitlab.acidiclight.dev/sociallydistant/sociallydistant.git
synced 2025-01-22 09:31:47 -05:00
Deploy docfx to GitLab Pages
This commit is contained in:
parent
2706a00dcc
commit
eac0a353b8
1 changed files with 14 additions and 0 deletions
|
@ -20,6 +20,20 @@ build_base:
|
|||
- dotnet nuget add source -n gitlab https://gitlab.acidiclight.dev/api/v4/projects/13/packages/nuget/index.json
|
||||
- dotnet build -c release src
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
image: cr.acidiclight.dev/docker-images/monogame-linux-build/dotnet-mgcb:latest
|
||||
script:
|
||||
- if (dotnet nuget list source | grep gitlab); then dotnet nuget remove source gitlab; fi
|
||||
- dotnet nuget add source -n gitlab https://gitlab.acidiclight.dev/api/v4/projects/13/packages/nuget/index.json
|
||||
- docfx
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
||||
|
||||
|
||||
publish_linux:
|
||||
stage: deploy
|
||||
image: cr.acidiclight.dev/docker-images/monogame-linux-build/dotnet-mgcb:latest
|
||||
|
|
Loading…
Reference in a new issue