Skip to content

Commit

Permalink
Fix pinned netlify version (ampproject#6668)
Browse files Browse the repository at this point in the history
* use netlify wrapper version instead of netlify-cli

use the netlify wrapper version instead of the netlify-cli

* fix incorrect version for netlify wrapper command

the version we used was the netlify-cli and not the wrappers
  • Loading branch information
erwinmombay committed Sep 15, 2023
1 parent fbf2d3e commit f085239
Show file tree
Hide file tree
Showing 4 changed files with 42,589 additions and 16,545 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js/deploy-static.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function staticDeploy() {
console.log(`attempting to deploy ${SITE.DIR}`);

await sh(
`npx netlify@15.7.0 deploy --prod --auth ${NETLIFY_DEPLOY_TOKEN} --site ${SITE.ID}`,
`npx netlify deploy --prod --auth ${NETLIFY_DEPLOY_TOKEN} --site ${SITE.ID}`,
{
workingDir: SITE.DIR,
}
Expand Down
Loading

0 comments on commit f085239

Please sign in to comment.