From c3ab5f0f8b7d7f21a54223f0ed76d95745671dfd Mon Sep 17 00:00:00 2001
From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
Date: Mon, 25 Sep 2023 15:15:11 +0200
Subject: [PATCH] Adding a new stage

---
 .gitlab-ci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 144bc46..b02f0d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,9 +13,10 @@ workflow:
 variables:
 
 stages:
+  - build
   - generation
   - publication
-  - build
+  - web
     
 Build pythonForPandocFilter docker image:
   stage: build
@@ -75,11 +76,10 @@ Publish spec:
       - "${CI_PROJECT_NAME}_${CI_COMMIT_TAG}.docx"
 
 pages:
-  stage: publication
+  stage: web
+  when: on_success
   only:
     - tags
-  dependencies:
-    - Publish spec
   script:
     # Get the previous GitLab Pages content
     - set +e
-- 
GitLab