diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b2a7d9d54fffd1ba26d340270c42799661dabeac..f52645ca84e8b2ed8952848cd09d8228b12345c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -117,18 +117,6 @@ build:latest: image: ruby:latest allow_failure: true -# Job runs jekyll build latest dependencies, -# puts everything in a sub-directory while specifying baseurl. -build:production:subpath: - <<: *builds - <<: *production_before_script - image: ruby:latest - variables: - <<: *common_variables - SUBPATH: /$CI_PROJECT_NAME - extends: - - .artifacts_extension - # Job runs jekyll build with production dependencies, # puts everything in a sub-directory as required for review apps. build:production:review-apps: @@ -158,8 +146,8 @@ test:htmlproofer: test:htmlproofer:subpath: <<: *tests dependencies: - - build:production:subpath - needs: ["build:production:subpath"] + - build:production:review-apps + needs: ["build:production:review-apps"] # Job tests external links in addition to test:htmlproofer job. test:htmlproofer:external_links: @@ -216,20 +204,3 @@ include: - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' - template: 'Verify/Accessibility.gitlab-ci.yml' - local: '/.gitlab/ci/a11y.gitlab-ci.yml' - -pages: - image: alpine:latest - stage: deploy - variables: - GIT_STRATEGY: none - script: - - mv public/$CI_PROJECT_NAME/* public/. - - rmdir public/$CI_PROJECT_NAME - dependencies: - - build:production:subpath - needs: ["build:production:subpath"] - artifacts: - paths: - - public - rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH