From ca7466383d616dc1a6d932776492d2b615844667 Mon Sep 17 00:00:00 2001 From: marcchevaldonne Date: Thu, 8 Sep 2022 15:39:19 +0200 Subject: [PATCH] :memo: added docusaurus documentation --- .drone.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..87361f1 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,42 @@ +kind: pipeline +type: docker +name: CI + +trigger: + event: + - push + +steps: + - name: build + image: mcr.microsoft.com/dotnet/core/sdk:3.1 + volumes: + - name: docs + path: /docs + commands: + - cd Sources/ + #- dotnet new tool-manifest + #- dotnet tool install --version 5.3.1 Swashbuckle.AspNetCore.Cli + - dotnet restore Exemples_coreOnly.sln + - dotnet build Exemples_coreOnly.sln -c Release --no-restore + - dotnet publish Exemples_coreOnly.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release + + # La documentation Doxygen doit ĂȘtre dans le rĂ©pertoire + # Documentation/doxygen + # avec le ficher + # Documentation/doxygen/Doxyfile contenant + # OUTPUT_DIRECTORY = /docs/doxygen + - name: generate-and-deploy-docs + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer + volumes: + - name: docs + path: /docs + commands: + - /entrypoint.sh + when: + branch: + - master + depends_on: [ build ] + +volumes: +- name: docs + temp: {} \ No newline at end of file