From aa1342fcbbe60c78c605a417ea53bb9acd058e75 Mon Sep 17 00:00:00 2001 From: Luke Anderson Date: Wed, 8 May 2019 00:52:22 +1000 Subject: [PATCH] Renamed doc stage and excluded the '.lock' file which was causing an S3 sync return error code, failing the build. --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68cef3570..da165de72 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ image: 'sigp/lighthouse:latest' stages: - test - - doc + - document variables: CARGO_HOME: /cache/cargocache @@ -25,11 +25,11 @@ test-release: script: - cargo test --verbose --all --release -pages: - stage: doc +documentation: + stage: document script: - cargo doc --no-deps - - aws s3 sync target/doc/ s3://lighthouse-docs.sigmaprime.io/ + - aws s3 sync target/doc/ s3://lighthouse-docs.sigmaprime.io/ --exclude '.lock' # Configure the below when we want to have a default page (and update S3 bucket index). # - echo '' > public/index.html only: