Ajout de la génération de la documentation dans la CI Drone

pull/64/head
Rémi LAVERGNE 11 months ago
parent 752f00ee4c
commit 16a8b881e5
No known key found for this signature in database
GPG Key ID: CA264B55E97FD220

@ -5,10 +5,9 @@ name: CI
trigger:
when:
branch:
include:
- master
- dev
- CI/CD
- master
- dev
- CI/CD
event:
- push
@ -21,6 +20,15 @@ steps:
- dotnet build -c Release --no-restore
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release
- name: build-ConsoleApp
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- cd source/Trek-12/ConsoleApp
- dotnet restore
- dotnet build -c Release --no-restore
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release
depends_on: [build-Models]
- name: tests
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
@ -48,3 +56,16 @@ steps:
- dotnet publish CI-Trek-12.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release
- dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
depends_on: [tests]
- name: generate-and-deploy-docs
image: hub.codefirst.iut.uca.fr/maxime.batista/codefirst-docdeployer:latest
failure: ignore
commands:
- /entrypoint.sh -l documentation/doxygen -t doxygen
when:
branch:
- master
- dev
event:
- push
depends_on: [ build-Models, tests ]

Loading…
Cancel
Save