Deploy docfx to GitLab Pages

This commit is contained in:
Ritchie Frodomar 2024-10-18 23:24:53 -04:00
parent 2706a00dcc
commit eac0a353b8

View file

@ -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