diff options
author | Matt Rude <[email protected]> | 2017-08-01 05:17:54 +0000 |
---|---|---|
committer | Matt Rude <[email protected]> | 2017-08-01 05:17:54 +0000 |
commit | d9b4428dbed0c88011b54efe8ed4863bde5c0363 (patch) | |
tree | 13b72a731d4de9923f7b06fbf632151214723dbf | |
parent | 743851b589a51f5ef2a195c0ad660143fec8fe7a (diff) | |
download | xmpp-site-builder-d9b4428dbed0c88011b54efe8ed4863bde5c0363.tar.gz xmpp-site-builder-d9b4428dbed0c88011b54efe8ed4863bde5c0363.tar.bz2 xmpp-site-builder-d9b4428dbed0c88011b54efe8ed4863bde5c0363.zip |
Add .gitlab-ci.yml
-rw-r--r-- | .gitlab-ci.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3e9cf7f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,31 @@ +# This file is a template, and might need editing before it works on your project. +# Template project: https://gitlab.com/pages/jekyll +# Docs: https://docs.gitlab.com/ce/pages/ +image: ruby:2.3 + +variables: + JEKYLL_ENV: production + +before_script: +- bundle install + +test: + stage: test + script: + - bundle exec jekyll build -d test + artifacts: + paths: + - test + except: + - master + +pages: + stage: deploy + script: + - bundle exec jekyll build -d public + artifacts: + paths: + - public + only: + - master + |