# http://docs.gitlab.com/ce/ci/yaml/ variables: GIT_SUBMODULE_STRATEGY: recursive cache: paths: - node_modules/ stages: - build - develop - release build: stage: build script: - make install - make build only: - master@EOI/newlook - tags@EOI/newlook artifacts: paths: - dist develop: stage: develop script: - cp -r dist/* /opt/newlook only: - master@EOI/newlook dependencies: - build release: stage: release script: - make tar - make ftp only: - tags@EOI/newlook dependencies: - build artifacts: name: "${CI_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}" paths: - newlook-*.tar.gz