diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 02769824cd34d47ce7b074904fe86d0f6930d149..c90b646a9a878c253dd33c10c35be4b8a62f10e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,27 @@ image: digitallyseamless/nodejs-bower-grunt pages: - stage: deploy + stage: deploy-stable only: - master script: - - npm install --global npm@latest - - npm install --global yo - - npm install -g grunt-cli - - npm install -g generator-reveal - - npm install -g bower + - npm install -g npm@latest yo grunt-cli generator-reveal bower - npm install - grunt dist artifacts: paths: - - public + - public/stable + +pages: + stage: deploy-unstable + only: + - develop + script: + - npm install -g npm@latest yo grunt-cli generator-reveal bower + - npm install + - grunt dist + + artifacts: + paths: + - public/latest \ No newline at end of file