Merge branch 'productionEnvironment' into 'master'

Update README.md to specify production Jekyll configuration

See merge request !11
This commit is contained in:
Achilleas Pipinellis
2017-03-10 16:50:17 +00:00
2 changed files with 9 additions and 2 deletions

View File

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

View File

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