web/.gitlab-ci.yml

32 lines
461 B
YAML
Raw Normal View History

2017-12-04 01:57:24 +00:00
before_script:
2017-12-04 02:06:34 +00:00
- export VERSION=1.0.1
2017-12-04 01:57:24 +00:00
- chmod +x packaging/build-package.sh packaging/package-upload.sh
stages:
- build
- package
build:
2017-12-04 01:59:03 +00:00
stage: build
only:
- master
2017-12-04 01:57:24 +00:00
image: node:latest
script:
- npm install
- npm run build
artifacts:
paths:
- dist
package:
stage: package
only:
- master
image: tystuyfzand/fpm
script:
- packaging/build-package.sh
- packaging/package-upload.sh
artifacts:
paths:
- build