From 11a4d6d17d64e60c32f520f01bc84ee986339847 Mon Sep 17 00:00:00 2001 From: light7734 Date: Sat, 23 Aug 2025 14:55:59 +0330 Subject: [PATCH] ci: move documentation step to ryali --- .drone.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4430bd0..7ace985 100644 --- a/.drone.yml +++ b/.drone.yml @@ -92,7 +92,8 @@ kind: pipeline type: docker name: documentation - +node: + environment: ryali trigger: branch: - main @@ -102,7 +103,6 @@ steps: image: documentation:latest pull: if-not-exists commands: - # Build docs - pwd - cd docs - mkdir generated @@ -110,9 +110,5 @@ steps: - touch generated/api.rst - sphinx-build -M html . . - - mv ./html light_docs_dev_staging - - ssh light@5.75.206.84 "sudo rm -rf /home/light/light_docs_dev_staging" - - scp -r ./light_docs_dev_staging light@5.75.206.84:/home/light/ - - ssh light@5.75.206.84 "sudo rm -rf /home/light/light_docs_dev/*" - - ssh light@5.75.206.84 "sudo mv /home/light/light_docs_dev_staging/* /home/light/light_docs_dev/" - + - sudo rm -rf /light_docs_dev/* + - sudo mv ./html/* /light_docs_dev/