mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-29 02:33:48 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user