Commit 4b14f705 authored by Serafino Pirronitto's avatar Serafino Pirronitto
Browse files

Update .gitlab-ci.yml file

parent 59f86eae
Loading
Loading
Loading
Loading
Loading
+20 −5
Original line number Diff line number Diff line
@@ -4,11 +4,6 @@ stages:
  - build
  - deploy

workflow:
  rules:
    - changes:
      - API.docx
    - if: $CI_PIPELINE_SOURCE == "manual"

variables:
  DOCKER_DRIVER: overlay2
@@ -24,6 +19,10 @@ generate_temp_docx:
      - temp.docx
      - API.css
      - background_highlight.css
  rules:
    - changes:
      - API.docx
    - if: $CI_PIPELINE_SOURCE == "manual"

images_extraction:
  stage: preprocessing
@@ -34,6 +33,10 @@ images_extraction:
  artifacts:
    paths:
      - media
  rules:
    - changes:
      - API.docx
    - if: $CI_PIPELINE_SOURCE == "manual"

editing_html:
  stage: chunk
@@ -45,6 +48,10 @@ editing_html:
  artifacts:
    paths:
      - ./editing.zip
  rules:
    - changes:
      - API.docx
    - if: $CI_PIPELINE_SOURCE == "manual"

official_html:
  stage: chunk
@@ -56,6 +63,10 @@ official_html:
  artifacts:
    paths:
      - ./official.zip
  rules:
    - changes:
      - API.docx
    - if: $CI_PIPELINE_SOURCE == "manual"

saving_script:
  stage: chunk
@@ -74,6 +85,10 @@ saving_script:
  artifacts:
    paths:
      - ./API
  rules:
    - changes:
      - API.docx
    - if: $CI_PIPELINE_SOURCE == "manual"

docx:
  stage: build