web/.gitlab-ci.yml

32 lines
459 B
YAML

before_script:
- export VERSION=1.1.2
- chmod +x packaging/build-package.sh packaging/package-upload.sh
stages:
- build
- package
build:
stage: build
only:
- master
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:
- out