[gtk-web/new-website: 28/180] changes for pipelines



commit 6cdc15f4d6307515fa5c78acd0a911adc79d31b1
Author: ravgeetdhillon <ravgeetdhillon gmail com>
Date:   Thu May 30 16:08:36 2019 +0530

    changes for pipelines

 .gitlab-ci.yml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ed7e7c9..564cd6b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,10 +4,19 @@ variables:
   JEKYLL_ENV: production
   LC_ALL: C.UTF-8
 
-before_script:
+  before_script:
+  - apt-get update -qy 
+  - apt-get install -qy locales
+  - echo "en_US UTF-8" > /etc/locale.gen
+  - locale-gen en_US en_US.UTF-8
+  - export LANG=en_US.UTF-8
+  - export LANGUAGE=en_US:en
+  - export LC_ALL=en_US.UTF-8
+  - apt-get install -y npm
+  - ln -s /usr/bin/nodejs /usr/bin/node
+  - npm install -g npm
   - gem install bundler
   - bundle install
-  - npm install
   - move /Y node_modules/bootstrap assets/
   - move node_modules/jquery assets/
   - move /Y node_modules/popper.js assets/


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