Skip to content
Snippets Groups Projects

Fix/api issues

Merged Alfin Johny requested to merge fix/api_issues into develop
1 unresolved thread
Files
2
+ 7
6
@@ -33,10 +33,10 @@ clone:
@@ -33,10 +33,10 @@ clone:
# clone repos
# clone repos
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/unicado/aircraft-design
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/unicado/aircraft-design
- cd aircraft-design
- cd aircraft-design
- git clone --recurse-submodules https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/unicado/libraries libs/
# Clone libraries inside the aircraft-design directory
# Change to the project directory (useful for multi-directory repositories)
- git clone --recurse-submodules https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/unicado/libraries lib
 
# Change to the project directory (useful for multi-directory repositories)
- cd $CI_PROJECT_DIR
- cd $CI_PROJECT_DIR
- ls -la $CI_PROJECT_DIR
artifacts:
artifacts:
# Save the generated documentation as artifacts so they can be accessed later in the pipeline
# Save the generated documentation as artifacts so they can be accessed later in the pipeline
paths:
paths:
@@ -49,8 +49,7 @@ clone:
@@ -49,8 +49,7 @@ clone:
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH' # Allow manual triggers on non-default branches
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH' # Allow manual triggers on non-default branches
when: manual # Run only when triggered manually
when: manual # Run only when triggered manually
- if: '$CI_PIPELINE_SOURCE == "trigger"' # Triggered by another pipeline
- if: '$CI_PIPELINE_SOURCE == "trigger"' # Triggered by another pipeline
when: on_success # Run if the source pipeline was successful
when: on_success # Run if the source pipeline was successful
# === Build and deploy the website ===
# === Build and deploy the website ===
pages:
pages:
image: python:latest
image: python:latest
@@ -79,4 +78,6 @@ pages:
@@ -79,4 +78,6 @@ pages:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' # Run when the commit is on the default branch
- 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
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
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH' # Allow manual triggers on non-default branches
when: manual # Run only when triggered manually
when: manual # Run only when triggered manually
\ No newline at end of file
- if: '$CI_PIPELINE_SOURCE == "trigger"' # Triggered by another pipeline
 
when: on_success # Run if the source pipeline was successful
 
\ No newline at end of file
Loading