aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-01-05 19:34:24 +0000
committerNoah Loomans <noahloomans@gmail.com>2017-01-05 19:34:24 +0000
commit55ae09d46013bfdcf988c225df154e6b0a3558ce (patch)
tree4eccec2aa06a3d8f848bbae55052214342dcd5a9 /.gitlab-ci.yml
parentb827c54eba3d239db94b56c4afa3acaa77956aeb (diff)
Update .gitlab-ci.yml
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml29
1 files changed, 6 insertions, 23 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f7736c5..00e3259 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,28 +1,11 @@
-image: ruby:2.3 # Use Ruby Docker image
-
-cache: # Add Bundler cache to 'vendor' directory
- paths:
- - vendor/
-
-before_script: # Install Gems to 'vendor' directory
- - bundle install --path vendor
-
-test:
- stage: test
- script: # Generate test site(s) into 'test' directory
- - bundle exec jekyll build -d test
- artifacts: # Save a zipped version for download
- paths:
- - test
- except: # Execute for all branches except master
- - master
+image: ruby:2.3
pages:
- stage: deploy
- script: # Generate public site and deploy
- - bundle exec jekyll build -d public
- artifacts: # Save a zipped version for download
+ script:
+ - gem install jekyll
+ - jekyll build -d public
+ artifacts:
paths:
- public
- only: # Only deploy the master branch
+ only:
- master \ No newline at end of file