summaryrefslogtreecommitdiff
path: root/.gitlab/ci/pages.gitlab-ci.yml
blob: b6d4b0ef11d84cf06f8001ef1d5aa48c01d03a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pages:
  extends:
    - .default-retry
    - .pages:rules
  stage: pages
  needs:
    - rspec:coverage
    - coverage-frontend
    - karma
    - compile-production-assets
  script:
    - mv public/ .public/
    - mkdir public/
    - mv coverage/ public/coverage-ruby/ || true
    - mv coverage-frontend/ public/coverage-frontend/ || true
    - mv coverage-javascript/ public/coverage-javascript/ || 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