mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 13:41:08 +00:00
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
This commit is contained in:
@@ -531,6 +531,7 @@ build-rust-doc:
|
|||||||
script:
|
script:
|
||||||
- RUSTDOCFLAGS="--html-in-header $(pwd)/.maintain/rustdoc-header.html"
|
- RUSTDOCFLAGS="--html-in-header $(pwd)/.maintain/rustdoc-header.html"
|
||||||
time cargo +nightly doc --no-deps --workspace --all-features --verbose
|
time cargo +nightly doc --no-deps --workspace --all-features --verbose
|
||||||
|
- rm -f ./target/doc/.lock
|
||||||
- mv ./target/doc ./crate-docs
|
- mv ./target/doc ./crate-docs
|
||||||
- echo "<meta http-equiv=refresh content=0;url=sc_service/index.html>" > ./crate-docs/index.html
|
- echo "<meta http-equiv=refresh content=0;url=sc_service/index.html>" > ./crate-docs/index.html
|
||||||
- sccache -s
|
- sccache -s
|
||||||
@@ -643,6 +644,7 @@ publish-s3-doc:
|
|||||||
echo "./crate-docs/index.html not present, build:rust:doc:release job not complete";
|
echo "./crate-docs/index.html not present, build:rust:doc:release job not complete";
|
||||||
exit 1
|
exit 1
|
||||||
)
|
)
|
||||||
|
- ls -lah crate-docs
|
||||||
- aws s3 sync --delete --size-only --only-show-errors
|
- aws s3 sync --delete --size-only --only-show-errors
|
||||||
./crate-docs/ s3://${BUCKET}/${PREFIX}/
|
./crate-docs/ s3://${BUCKET}/${PREFIX}/
|
||||||
after_script:
|
after_script:
|
||||||
@@ -708,8 +710,8 @@ trigger-simnet:
|
|||||||
variables:
|
variables:
|
||||||
TRGR_PROJECT: ${CI_PROJECT_NAME}
|
TRGR_PROJECT: ${CI_PROJECT_NAME}
|
||||||
TRGR_REF: ${CI_COMMIT_REF_NAME}
|
TRGR_REF: ${CI_COMMIT_REF_NAME}
|
||||||
# simnet project ID
|
# Simnet project ID
|
||||||
DWNSTRM_ID: 332
|
DWNSTRM_ID: 332
|
||||||
script:
|
script:
|
||||||
# API trigger for a simnet job
|
# API trigger for a Simnet job
|
||||||
- .maintain/gitlab/trigger_pipeline.sh --simnet-version=${SIMNET_REF}
|
- .maintain/gitlab/trigger_pipeline.sh --simnet-version=${SIMNET_REF}
|
||||||
|
|||||||
Reference in New Issue
Block a user