Commit 36cffe98 authored by jeekajoo's avatar jeekajoo

CI: add env specific jekyll config

parent 3b098a46
......@@ -21,7 +21,7 @@ test:
deploy-stage:
stage: deploy
script:
- jekyll build -d $LOCAL_DIR_STAGE
- jekyll build --config _config.yml,_config_stage.yml --destination $LOCAL_DIR_STAGE
- apt-get update -qq && apt-get install -y -qq lftp
- lftp -c "set ftp:ssl-allow no; open -u $FTP_USER,$FTP_PASSWORD $FTP_HOST; mirror -Rev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ $LOCAL_DIR_STAGE $FTP_REMOTE_DIR_STAGE"
environment:
......@@ -31,7 +31,7 @@ deploy-stage:
deploy-prod:
stage: deploy
script:
- jekyll build -d $LOCAL_DIR_PROD
- jekyll build --config _config.yml,_config_prod.yml --destination $LOCAL_DIR_PROD
- apt-get update -qq && apt-get install -y -qq lftp
- lftp -c "set ftp:ssl-allow no; open -u $FTP_USER,$FTP_PASSWORD $FTP_HOST; mirror -Rev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ $LOCAL_DIR_PROD $FTP_REMOTE_DIR_PROD"
when: manual
......
......@@ -9,7 +9,7 @@ description: >
d'être tenus informés des avancées du plan vélo voté par la mairie de Paris
en avril 2015.
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://prod.planvelo.paris" # the base hostname & protocol for your site, e.g. http://example.com
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter:
username: parisenselle
gitlab:
......
url: "https://prod.planvelo.paris" # the base hostname & protocol for your site, e.g. http://example.com
url: "https://test.planvelo.paris" # the base hostname & protocol for your site, e.g. http://example.com
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment