[gtk-web/new-website: 147/180] updated ggitlab ci pipeline



commit 1786b9f55a8584e037279229aed5616f7e1ef962
Author: ravgeetdhillon <ravgeetdhillon gmail com>
Date:   Tue Aug 13 19:56:43 2019 +0530

    updated ggitlab ci pipeline

 .gitlab-ci.yml | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cbea37f..628be05 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,10 +21,11 @@ gems:
   script:
   - gem install bundler jekyll
   - bundle install
-  - ls /usr/local/bundle/bin/jekyll
-  artifacts:
+  cache:
+    key: gems
     paths:
-    - gems
+      - vendor/bundle
+    policy: pull
 
 npm:
   stage: installation
@@ -53,8 +54,9 @@ structure:
 test:
   stage: test
   script:
-  - ls gems
-  - bundle exec gems/jekyll build -d test
+  - gem install bundler jekyll
+  - bundle install
+  - bundle exec jekyll build -d test
   artifacts:
     paths:
     - test
@@ -64,9 +66,12 @@ test:
 pages:
   stage: deploy
   script:
-  - ls /usr/local/bundle/bin/jekyll
-  - ls gems
-  - bundle exec gems/jekyll build -d public
+  - bundle exec jekyll build -d public
+  cache:
+    key: gems
+    paths:
+      - vendor/bundle
+    policy: pull
   artifacts:
     paths:
     - public


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]