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
|
stage: doc
|
||||||
script:
|
script:
|
||||||
- cargo doc --no-deps
|
- cargo doc --no-deps
|
||||||
- mv target/doc public
|
- aws s3 sync target/doc/ s3://lighthouse-docs.sigmaprime.io/
|
||||||
# - echo '<meta http-equiv="refresh" content="0; url={{ LIBRARY NAME }}">' > public/index.html
|
# Configure the below when we want to have a default page (and update S3 bucket index).
|
||||||
artifacts:
|
# - echo '<meta http-equiv="refresh" content="0; url={{ LIBRARY NAME }}">' > public/index.html
|
||||||
paths:
|
|
||||||
- public
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
- gitlab-docs
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM rust:latest
|
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 && \
|
RUN git clone https://github.com/google/protobuf.git && \
|
||||||
cd protobuf && \
|
cd protobuf && \
|
||||||
|
Loading…
Reference in New Issue
Block a user