File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 - name : Set up Node.js
1919 uses : actions/setup-node@v4
2020 with :
21- node-version : " 20 "
21+ node-version : " 22 "
2222
2323 - name : Install npm
2424 run : npm install -g npm
5151 - name : Set up Node.js
5252 uses : actions/setup-node@v4
5353 with :
54- node-version : " 20 "
54+ node-version : " 22 "
5555
5656 - name : Install npm
5757 run : npm install -g npm
6464 fi
6565
6666 - name : Install Netlify CLI
67- run : npm install && npm install netlify-cli -g
67+ run : npm install && npm install -g netlify-cli
6868
6969 - name : Run Build
7070 run : npm run build
8383 env :
8484 NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
8585 NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
86- run : sudo npx netlify-cli deploy --prod --telemetry-disable --dir=. --auth=$NETLIFY_AUTH_TOKEN --site=$NETLIFY_SITE_ID
86+ run : netlify deploy --prod --telemetry-disable --dir=. --auth=$NETLIFY_AUTH_TOKEN --site=$NETLIFY_SITE_ID
You can’t perform that action at this time.
0 commit comments