Skip to content
Snippets Groups Projects
Commit f6b5c7c3 authored by Denis_P's avatar Denis_P :field_hockey: Committed by GitHub
Browse files

CI: fix docs pub (#9341)

* 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
parent f5381748
No related merge requests found
......@@ -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
......@@ -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:
......@@ -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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment