This repository has been archived on 2023-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
2017-08-31 11:44:57 +00:00
|
|
|
image: node:6
|
|
|
|
|
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- node_modules/
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- npm install
|
|
|
|
- npm install -g gulp
|
|
|
|
- npm rebuild node-sass
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- deploy
|
|
|
|
|
2017-08-31 11:57:04 +00:00
|
|
|
pages:
|
2017-08-31 11:44:57 +00:00
|
|
|
stage: deploy
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2017-08-31 11:57:04 +00:00
|
|
|
- public
|
2017-08-31 11:44:57 +00:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
script:
|
2017-08-31 11:57:04 +00:00
|
|
|
- gulp build --production
|
|
|
|
- mv dist public
|