Browse Source

Merge branch 'productionEnvironment' into 'master'

Update README.md to specify production Jekyll configuration

See merge request !11

Achilleas Pipinellis 7 years ago
parent
commit
177df024fb
2 changed files with 9 additions and 2 deletions
  1. 6 2
      .gitlab-ci.yml
  2. 3 0
      README.md

+ 6 - 2
.gitlab-ci.yml

@@ -1,9 +1,14 @@
 image: ruby:2.3
 
+variables:
+  JEKYLL_ENV: production
+
+before_script:
+  - bundle install
+
 test:
   stage: test
   script:
-  - bundle
   - bundle exec jekyll build -d test
   artifacts:
     paths:
@@ -14,7 +19,6 @@ test:
 pages:
   stage: deploy
   script:
-  - bundle
   - bundle exec jekyll build -d public
   artifacts:
     paths:

+ 3 - 0
README.md

@@ -56,6 +56,9 @@ defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
 ```
 image: ruby:2.3
 
+variables:
+  JEKYLL_ENV: production
+
 pages:
   script:
   - gem install jekyll