diff --git a/.drone.yml b/.drone.yml index c13c807..82884d1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,4 +39,21 @@ steps: - dotnet test QwirkleWithoutMaui.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - dotnet publish QwirkleWithoutMaui.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} \ No newline at end of file + - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + +steps: + - name: generate-and-deploy-docs + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer + failure: ignore + volumes: + - name: docs + path: /docs + commands: + - /entrypoint.sh + when: + branch: + - master + event: + - push + - pull_request + depends_on: [build,tests] \ No newline at end of file