Updated the gitlab config to generate docs and update them on S3. Will remove the 'gitlab-docs' line in a later commit.
This commit is contained in:
parent
00f85a0324
commit
190bf682db
@ -29,13 +29,12 @@ pages:
|
||||
stage: doc
|
||||
script:
|
||||
- cargo doc --no-deps
|
||||
- mv target/doc public
|
||||
# - echo '<meta http-equiv="refresh" content="0; url={{ LIBRARY NAME }}">' > 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 '<meta http-equiv="refresh" content="0; url={{ LIBRARY NAME }}">' > public/index.html
|
||||
only:
|
||||
- master
|
||||
- gitlab-docs
|
||||
|
||||
cache:
|
||||
paths:
|
||||
|
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user