changement de procédé
dans une orientation où le thème change pour toutes les pages
This commit is contained in:
+16
-4
@@ -1,10 +1,22 @@
|
||||
image: publysher/hugo
|
||||
image: ruby:2.3
|
||||
|
||||
variables:
|
||||
JEKYLL_ENV: production
|
||||
LC_ALL: C.UTF-8
|
||||
|
||||
before_script:
|
||||
- curl https://gitlab.com/carnet-de-notes/sous-le-capot/raw/master/_config.yml > _configGl.yml
|
||||
- curl https://gitlab.com/carnet-de-notes/sous-le-capot/raw/master/Gemfile > Gemfile
|
||||
- bundle install
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
variables:
|
||||
BASEURL: '/$CI_PROJECT_NAME'
|
||||
script:
|
||||
- hugo
|
||||
- bundle exec jekyll build -d public --baseurl $BASEURL --config _config.yml,_configGl.yml
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
- public
|
||||
only:
|
||||
- master
|
||||
- master
|
||||
|
||||
Reference in New Issue
Block a user