ci: use npx for one time execution

This commit is contained in:
naskya 2024-05-28 02:36:42 +09:00 committed by Eana Hufwe
parent bc40c1d526
commit 36e6fdeae1

View file

@ -284,12 +284,11 @@ cargo:doc:
- apt-get update
- apt-get install -y --no-install-recommends build-essential clang mold nodejs npm
- cp ci/cargo/config.toml /usr/local/cargo/config.toml
- npm install --global netlify-cli
script:
- cargo doc --no-deps --document-private-items
- 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=.
- npx --yes netlify-cli deploy --prod --site="${CARGO_DOC_SITE_ID}" --dir=.
renovate:
stage: dependency