ci: fix cargo docs job
This commit is contained in:
parent
ad38610a25
commit
f81ad7ec0b
1 changed files with 3 additions and 4 deletions
|
@ -286,10 +286,9 @@ cargo:doc:
|
||||||
- npm install --global netlify-cli
|
- npm install --global netlify-cli
|
||||||
script:
|
script:
|
||||||
- cargo doc --no-deps
|
- cargo doc --no-deps
|
||||||
- mkdir -p public
|
- printf '<meta http-equiv="refresh" content="0; url=%s">' 'backend_rs' > target/doc/index.html
|
||||||
- cp -r target/doc public/doc
|
- cd target/doc
|
||||||
- printf '<meta http-equiv="refresh" content="0; url=%s">' 'backend_rs' > public/doc/index.html
|
- netlify deploy --prod --site="${CARGO_DOC_SITE_ID}" --dir=.
|
||||||
- netlify deploy --dir=public
|
|
||||||
|
|
||||||
renovate:
|
renovate:
|
||||||
stage: dependency
|
stage: dependency
|
||||||
|
|
Loading…
Reference in a new issue