regexper-static/.gitlab-ci.yml

28 lines
329 B
YAML

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