diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-04-11 15:33:58 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-04-11 15:33:58 +0300 |
commit | d41eb62e20a74ccb4964602a9e1ea105f8a72d34 (patch) | |
tree | ea05043b1fbe5a2acad9d03826e195d0bbe72737 /vendor/gitlab-ci-yml/Pages | |
parent | 862b74bc4688bcd572b32d9998cbfbedec39e053 (diff) |
Update templates via:
rake gitlab:update_templates
Diffstat (limited to 'vendor/gitlab-ci-yml/Pages')
-rw-r--r-- | vendor/gitlab-ci-yml/Pages/Hexo.gitlab-ci.yml | 13 | ||||
-rw-r--r-- | vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml | 6 |
2 files changed, 10 insertions, 9 deletions
diff --git a/vendor/gitlab-ci-yml/Pages/Hexo.gitlab-ci.yml b/vendor/gitlab-ci-yml/Pages/Hexo.gitlab-ci.yml index 908463c9d12..02d02250bbf 100644 --- a/vendor/gitlab-ci-yml/Pages/Hexo.gitlab-ci.yml +++ b/vendor/gitlab-ci-yml/Pages/Hexo.gitlab-ci.yml @@ -1,17 +1,16 @@ # Full project: https://gitlab.com/pages/hexo -image: node:4.2.2 +image: node:6.10.0 pages: - cache: - paths: - - node_modules/ - script: - - npm install hexo-cli -g - npm install - - hexo deploy + - ./node_modules/hexo/bin/hexo generate artifacts: paths: - public + cache: + paths: + - node_modules + key: project only: - master diff --git a/vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml b/vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml index d98cf94d635..37f50554036 100644 --- a/vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml +++ b/vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml @@ -1,8 +1,10 @@ # Template project: https://gitlab.com/pages/jekyll # Docs: https://docs.gitlab.com/ce/pages/ -# Jekyll version: 3.4.0 image: ruby:2.3 +variables: + JEKYLL_ENV: production + before_script: - bundle install @@ -25,4 +27,4 @@ pages: - public only: - master -
\ No newline at end of file + |