Commit f2989df3 authored by Adam Voss's avatar Adam Voss
Browse files

Update .gitlab-ci.yml and README.md to specify production Jekyll configuration

If a user is using GitLab Pages it is most likely the user is using GitLab pages to publish a website not just stage a website that is published elsewhere.  If a user is publishing a website with Jekyll, they (and Jekyll themes/plugins) will expect that JEKYLL_ENV=production.  This commit provides that specification in `.gitlab-ci.yml`.

An examination of the existing repository showed this should not result in any change to the current rendering of the website.  However, the specification may be important for developers as explained in preceding commit.
parent 49a55836
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:
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment