From e98ec345e71131959e71072f3f7ec6df0e7aa66a Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Thu, 6 Dec 2018 12:49:29 +0100 Subject: [PATCH] Gitlab CI --- .gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..fff3fba --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +variables: + TERM: linux + JEKYLL_ENV: production + +before_script: + - export LC_ALL="C.UTF-8" + - export LANG="en_US.UTF-8" + - export LANGUAGE="en_US.UTF-8" + - export GEM_HOME=$HOME/gems + - export PATH=$HOME/gems/bin:$PATH + - gem install jekyll + - gem install bundler + - bundle install + +job: + stage: build + tags: + - jekyll + script: + - bundle exec jekyll build + artifacts: + paths: + - _site + only: + - master + + -- GitLab