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