Use npx for Netlify CLI deployment (#14191)

* Use npx for Netlify CLI deployment

Replaced global installation of Netlify CLI with local installation using npx.

* Update Netlify CLI installation method in workflow
This commit is contained in:
Adish M 2025-09-28 23:14:03 +05:30 committed by GitHub
parent c8168fa0e1
commit ffb4e2ecbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,7 +123,7 @@ jobs:
- name: 🚀 Deploy to Netlify
run: |
npm install -g netlify-cli
npm install -g netlify-cli@17.10.1
netlify deploy --prod --dir=frontend/build --auth=$NETLIFY_AUTH_TOKEN --site=${{ secrets.CLOUD_PROD_NETLIFY_SITE_ID }}
working-directory: repo
env: