please build?
This commit is contained in:
parent
0f97653e43
commit
c68e093763
1 changed files with 17 additions and 18 deletions
|
@ -1,18 +1,17 @@
|
|||
# requiring the environment of Ruby 2.3.x
|
||||
image: ruby:2.3
|
||||
# add bundle cache to 'vendor' for speeding up builds
|
||||
cache:
|
||||
paths:
|
||||
- vendor/
|
||||
before_script:
|
||||
- bundle install --path vendor
|
||||
# the 'pages' job will deploy and build your site to the 'public' path
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- bundle exec jekyll build -d public/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master # this job will affect only the 'master' branch
|
||||
image: ruby:latest
|
||||
|
||||
variables:
|
||||
JEKYLL_ENV: production
|
||||
LC_ALL: C.UTF-8
|
||||
|
||||
before_script:
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- bundle exec jekyll build -d public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
|
Loading…
Add table
Reference in a new issue