diff options
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3767e4c..6efb8da 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,12 +26,13 @@ nightly: - cargo test --verbose --jobs 1 --release pages: + before_script: + - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable stage: deploy only: - master script: - - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable - - . ~/.cargo/env && cargo doc + - cargo doc - rm -rf public - mkdir public - cp -R target/doc/* public |