23 lines
280 B
YAML
23 lines
280 B
YAML
|
image: node:6
|
||
|
|
||
|
cache:
|
||
|
paths:
|
||
|
- node_modules/
|
||
|
|
||
|
before_script:
|
||
|
- npm install
|
||
|
- npm install -g gulp
|
||
|
- npm rebuild node-sass
|
||
|
|
||
|
stages:
|
||
|
- deploy
|
||
|
|
||
|
build_and_deploy:
|
||
|
stage: deploy
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- dist
|
||
|
only:
|
||
|
- master
|
||
|
script:
|
||
|
- gulp build --production
|