ci: fix cargo docs job

This commit is contained in:
naskya 2024-05-24 21:14:57 +09:00
parent ad38610a25
commit f81ad7ec0b
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -286,10 +286,9 @@ cargo:doc:
- npm install --global netlify-cli
script:
- cargo doc --no-deps
- mkdir -p public
- cp -r target/doc public/doc
- printf '<meta http-equiv="refresh" content="0; url=%s">' 'backend_rs' > public/doc/index.html
- netlify deploy --dir=public
- printf '<meta http-equiv="refresh" content="0; url=%s">' 'backend_rs' > target/doc/index.html
- cd target/doc
- netlify deploy --prod --site="${CARGO_DOC_SITE_ID}" --dir=.
renovate:
stage: dependency