From 7f905620d34e2f27d80336720ad87c46e354aa02 Mon Sep 17 00:00:00 2001 From: light7734 Date: Fri, 5 Sep 2025 11:31:45 +0330 Subject: [PATCH] squash --- .drone.yml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/.drone.yml b/.drone.yml index 159dc65..9a059fb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -87,3 +87,54 @@ steps: pull: if-not-exists commands: - ./tools/ci/static_analysis/clang_format.sh + +--- +kind: pipeline +type: docker +name: documentation — development +node: + environment: ryali +trigger: + branch: + - main + +steps: +- name: build and deploy + image: documentation:latest + pull: if-not-exists + commands: + - pwd + - cd docs + - mkdir generated + - touch generated/changelogs.rst + - touch generated/api.rst + - sphinx-build -M html . . + + - rm -rf /light_docs_dev/* + - mv ./html/* /light_docs_dev/ + +--- + +kind: pipeline +type: docker +name: documentation — production +node: + environment: ryali +trigger: + event: + - tag + +steps: +- name: build and deploy + image: documentation:latest + pull: if-not-exists + commands: + - pwd + - cd docs + - mkdir generated + - touch generated/changelogs.rst + - touch generated/api.rst + - sphinx-build -M html . . + + - rm -rf /light_docs/* + - mv ./html/* /light_docs/