diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index db593a5927..68cef35708 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,13 +29,12 @@ pages:
stage: doc
script:
- cargo doc --no-deps
- - mv target/doc public
- # - echo '' > public/index.html
- artifacts:
- paths:
- - public
+ - aws s3 sync target/doc/ s3://lighthouse-docs.sigmaprime.io/
+ # Configure the below when we want to have a default page (and update S3 bucket index).
+ # - echo '' > public/index.html
only:
- master
+ - gitlab-docs
cache:
paths:
diff --git a/Dockerfile b/Dockerfile
index e693c91a39..57f677b785 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
FROM rust:latest
-RUN apt-get update && apt-get install -y clang libclang-dev cmake build-essential git unzip autoconf libtool
+RUN apt-get update && apt-get install -y clang libclang-dev cmake build-essential git unzip autoconf libtool awscli
RUN git clone https://github.com/google/protobuf.git && \
cd protobuf && \