mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Test pages
Added stage Move files to public Move folder instead Make if already exists Move filees Finished cleaning
This commit is contained in:
parent
4822150220
commit
d8a8cc7032
@ -15,3 +15,15 @@ docker:
|
|||||||
script:
|
script:
|
||||||
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
|
- 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"
|
- /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
|
||||||
|
Loading…
Reference in New Issue
Block a user