diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-09-26 18:39:27 +0300 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2018-09-26 18:39:27 +0300 |
commit | f5f5d6ea1f816f2d695eca74b3923457dcccbdff (patch) | |
tree | 22b25ffd74a9012f9a8cba9f597d9db4ba50719e /lib/gitlab/ci/templates/Pages/Middleman.gitlab-ci.yml | |
parent | 82ea7195cdeab1f9177796517b7267cb7db0fae0 (diff) |
Resolve "Un-vendor CI templates"
Diffstat (limited to 'lib/gitlab/ci/templates/Pages/Middleman.gitlab-ci.yml')
-rw-r--r-- | lib/gitlab/ci/templates/Pages/Middleman.gitlab-ci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/gitlab/ci/templates/Pages/Middleman.gitlab-ci.yml b/lib/gitlab/ci/templates/Pages/Middleman.gitlab-ci.yml new file mode 100644 index 00000000000..9f4cc0574d6 --- /dev/null +++ b/lib/gitlab/ci/templates/Pages/Middleman.gitlab-ci.yml @@ -0,0 +1,27 @@ +# Full project: https://gitlab.com/pages/middleman +image: ruby:2.3 + +cache: + paths: + - vendor + +test: + script: + - apt-get update -yqqq + - apt-get install -y nodejs + - bundle install --path vendor + - bundle exec middleman build + except: + - master + +pages: + script: + - apt-get update -yqqq + - apt-get install -y nodejs + - bundle install --path vendor + - bundle exec middleman build + artifacts: + paths: + - public + only: + - master |