Skip to content
Snippets Groups Projects
Commit 925e1027 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

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

parent 2eb8c70b
No related branches found
No related tags found
No related merge requests found
stages: stages:
- github-sync - github-sync
- build
- publish
push_to_github: push_to_github:
stage: github-sync stage: github-sync
...@@ -37,3 +39,30 @@ enforce_readme: ...@@ -37,3 +39,30 @@ enforce_readme:
- mv README.md.new README.md - mv README.md.new README.md
- git commit -am "Enforce github readme" - git commit -am "Enforce github readme"
- git push origin master - 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment