gitlab-org--gitlab-foss/.gitlab/ci/pages.gitlab-ci.yml

24 lines
677 B
YAML
Raw Normal View History

2019-04-12 04:56:38 -04:00
pages:
extends:
- .default-retry
- .pages:rules
2019-04-12 04:56:38 -04:00
stage: pages
dependencies:
- rspec:coverage
- coverage-frontend
- karma
- compile-production-assets
2019-04-12 04:56:38 -04:00
script:
- mv public/ .public/
- mkdir public/
- mv coverage/ public/coverage-ruby/ || true
- mv coverage-frontend/ public/coverage-frontend/ || true
2019-04-12 04:56:38 -04:00
- mv coverage-javascript/ public/coverage-javascript/ || true
- mv webpack-report/ public/webpack-report/ || true
- cp .public/assets/application-*.css public/application.css || true
- cp .public/assets/application-*.css.gz public/application.css.gz || true
artifacts:
paths:
- public
expire_in: 31d