From 8ff061846081b9d0f08691740efca3b436636317 Mon Sep 17 00:00:00 2001 From: Alfin Johny <alfin.johny@tum.de> Date: Thu, 2 Jan 2025 11:38:25 +0100 Subject: [PATCH] Fix build issues --- .gitlab-ci.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f446026..f9978d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,7 +76,7 @@ pages: # Repeat for other titles (structure, propulsion, etc.) - python $CI_PROJECT_DIR/scripts/document_aircraft_xml.py --title Geometry --level 6 $CI_PROJECT_DIR/scripts/CSR-02.xml > $CI_PROJECT_DIR/docs/aircraft-xml/geometry.md # Use the persisted content from the previous stage (aircraft-design) - - cp -r $CI_PROJECT_DIR/aircraft-design $CI_PROJECT_DIR/docs/ # Copy content to the docs folder + - cp -r $CI_PROJECT_DIR/aircraft-design $CI_PROJECT_DIR/docs/documentation # Copy content to the docs/documentation folder # Build the MkDocs documentation site - pipenv run mkdocs build --verbose --site-dir $CI_PROJECT_DIR/public @@ -86,18 +86,6 @@ pages: # Save the generated static website files as artifacts paths: - $CI_PROJECT_DIR/public - rules: - - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' # Run when the commit is on the default branch - when: on_success # Only run if the previous jobs are successful - - if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH' # Allow manual triggers on non-default branches - when: manual # Run only when triggered manually - - if: '$CI_PIPELINE_SOURCE == "trigger"' # Triggered by another pipeline - when: on_success # Run if the source pipeline was successful -# Deploy to GitLab Pages -deploy_gitlab_pages: - stage: deploy to gitlab - script: - - mv $CI_PROJECT_DIR/public $CI_PROJECT_DIR/public # Ensure the output is in the public folder rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' # Run when the commit is on the default branch when: on_success # Only run if the previous jobs are successful -- GitLab