Skip to content

Commit

Permalink
CI: fix docs pub (paritytech#9341)
Browse files Browse the repository at this point in the history
* CI: debug

* CI: debug aws sync

* exclude locfile

* exclude locfile 2

* exclude doesn't work

* root files

* CI: remove lockfile

* CI: satisfy aws cli

* CI: typo

* CI: undebug

* CI: undebug docs jobs
  • Loading branch information
TriplEight authored Jul 20, 2021
1 parent f31dff7 commit 02d6644
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ build-rust-doc:
script:
- RUSTDOCFLAGS="--html-in-header $(pwd)/.maintain/rustdoc-header.html"
time cargo +nightly doc --no-deps --workspace --all-features --verbose
- rm -f ./target/doc/.lock
- mv ./target/doc ./crate-docs
- echo "<meta http-equiv=refresh content=0;url=sc_service/index.html>" > ./crate-docs/index.html
- sccache -s
Expand Down Expand Up @@ -643,6 +644,7 @@ publish-s3-doc:
echo "./crate-docs/index.html not present, build:rust:doc:release job not complete";
exit 1
)
- ls -lah crate-docs
- aws s3 sync --delete --size-only --only-show-errors
./crate-docs/ s3://${BUCKET}/${PREFIX}/
after_script:
Expand Down Expand Up @@ -708,8 +710,8 @@ trigger-simnet:
variables:
TRGR_PROJECT: ${CI_PROJECT_NAME}
TRGR_REF: ${CI_COMMIT_REF_NAME}
# simnet project ID
# Simnet project ID
DWNSTRM_ID: 332
script:
# API trigger for a simnet job
# API trigger for a Simnet job
- .maintain/gitlab/trigger_pipeline.sh --simnet-version=${SIMNET_REF}

0 comments on commit 02d6644

Please sign in to comment.