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

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 255c74e..82965bc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -180,7 +180,7 @@ integration test current woocommerce:
 apigen docs:
   image:
     name: wpdesknet/apigen
-  stage: deploy
+  stage: pre-deploy
   artifacts:
     expire_in: 1 day
     name: "docs"
@@ -193,6 +193,7 @@ apigen docs:
     - php /app/hooks-docs.php ${CI_PROJECT_DIR}
   only:
     - tags
+    - branches
 
 pages:
   stage: deploy
-- 
GitLab