From d8a8cc703251f540f380abb3981fb6faa425207a Mon Sep 17 00:00:00 2001 From: Forest Anderson Date: Thu, 11 Jun 2020 09:24:07 -0400 Subject: [PATCH] Test pages Added stage Move files to public Move folder instead Make if already exists Move filees Finished cleaning --- .gitlab/CI/publish.gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab/CI/publish.gitlab-ci.yml b/.gitlab/CI/publish.gitlab-ci.yml index e170bfa7cd..3ef9110504 100644 --- a/.gitlab/CI/publish.gitlab-ci.yml +++ b/.gitlab/CI/publish.gitlab-ci.yml @@ -15,3 +15,15 @@ docker: script: - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/server-cli/Dockerfile --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-server" + +pages: + extends: .release + stage: check-compile + artifacts: + paths: + - public + script: + - rm -rf public + - mkdir -p public + - cargo doc --no-deps --all-features --document-private-items + - mv target/doc/* public