From 4a29636443748b96dd6b10d555f779cbbbbf0eb7 Mon Sep 17 00:00:00 2001
From: Grzegorz Rola <grola@seostudio.pl>
Date: Sun, 7 Oct 2018 11:53:00 +0200
Subject: [PATCH] Docs in gitlab CI

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 30715fd..df71230 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,7 @@ variables:
 
 stages:
   - tools
+  - pre-tools
   - tests
   - pre-deploy
   - deploy
@@ -180,7 +181,7 @@ integration test current woocommerce:
 apigen docs:
   image:
     name: wpdesknet/apigen
-  stage: pre-deploy
+  stage: pre-tools
   artifacts:
     expire_in: 1 day
     name: "docs"
@@ -195,7 +196,7 @@ apigen docs:
     - tags
 
 pages:
-  stage: deploy
+  stage: tools
   dependencies:
     - apigen docs
   script:
@@ -206,9 +207,6 @@ pages:
     expire_in: 1 day
     paths:
       - public
-  only:
-    - tags
-    - branches
 
 build to deploy:
   image: wpdesknet/phpunit-woocommerce:4-0
-- 
GitLab