From c57bb62ebdbae4a7d29a020d69ec1afc4762b891 Mon Sep 17 00:00:00 2001 From: Florez Ospina Juan Felipe Date: Mon, 2 Dec 2024 16:31:49 +0100 Subject: [PATCH] Updated ci runner pipeline fot gitlab page --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 195f2ec..c38d206 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,12 @@ pages: stage: deploy script: - - echo "Deploying GitLab Pages..." + - echo "Deploying pre-built HTML..." + - cp -r docs/build/html public # Copy the pre-built HTML to the public directory artifacts: paths: - - docs/ + - public only: - - main # Change to your default branch if necessary + changes: + - docs/source/** # Run only if files in docs/source/ change + - docs/Makefile \ No newline at end of file