diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ce3d8ff --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +image: node:latest + +variables: + BUILD_PATH: ./public + +stages: + - build + +cache: + paths: + - node_modules/ + +before_script: + - yarn install + +pages: + stage: build + variables: + GA_PROP: $PROD_GA_PROPERTY + script: + - gulp build + - gzip -k -6 $(find public/ -type f) + artifacts: + paths: + - public + only: + - master