regexper-static/.gitlab-ci.yml
2019-01-01 09:08:39 -05:00

28 lines
355 B
YAML

image: node:8
variables:
BUILD_PATH: ./public
stages:
- build
cache:
paths:
- node_modules/
before_script:
- yarn install
pages:
stage: build
variables:
GA_PROP: $PROD_GA_PROPERTY
script:
- BUILD_PATH="$(pwd)/public" yarn gulp build
- gzip -k -6 $(find public/ -type f)
artifacts:
paths:
- public
only:
- master