From 36e6fdeae13211d6643a1ac19a7ec7e2f2f15b2a Mon Sep 17 00:00:00 2001 From: naskya <m@naskya.net> Date: Tue, 28 May 2024 02:36:42 +0900 Subject: [PATCH] ci: use npx for one time execution --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e1df9c987..00f2566f1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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