Commit 925e1027 authored by Benoit Lavenier's avatar Benoit Lavenier

Update .gitlab-ci.yml : add 'build' and 'pages' stages

parent 2eb8c70b
stages:
- github-sync
- build
- publish
push_to_github:
stage: github-sync
......@@ -37,3 +39,30 @@ enforce_readme:
- mv README.md.new README.md
- git commit -am "Enforce github readme"
- git push origin master
build:
stage: build
image: node:5
script:
- npm install
# - node ./node_modules/gulp/bin/gulp config --env default_fr
- node ./node_modules/gulp/bin/gulp build:web
artifacts:
untracked: true
paths:
- platforms/web
expire_in: 60 minutes
only:
- master
pages:
stage: publish
script:
- mv platforms/web/www public
artifacts:
untracked: true
paths:
- public
only:
- master
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