Skip to content
Snippets Groups Projects
Commit 7c609bd1 authored by Guilhem Bonnefille's avatar Guilhem Bonnefille
Browse files

Use distincts env

parent 284a0672
No related branches found
No related tags found
1 merge request!5Gitlab ci
......@@ -3,22 +3,33 @@ image: jekyll/minimal:3.8
variables:
LC_ALL: C.UTF-8
test:
stage: test
dev:
stage: build
script:
- jekyll build -d test
- jekyll build --config _config.yml,_config_dev.yml
artifacts:
paths:
- test
- _site
except:
- master
- dev
test:
stage: build
script:
- jekyll build --config _config.yml,_config_test.yml
artifacts:
paths:
- _site
only:
- dev
www:
stage: deploy
stage: build
script:
- jekyll build -d public
- jekyll build
artifacts:
paths:
- public
- _site
only:
- master
# The base hostname & protocol for your site without a trailing slash.
url: "http://localhost"
# The base hostname & protocol for your site without a trailing slash.
url: "https://test.orekit.org"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment