Skip to content

Commit 811d1fb

Browse files
authored
fix(netlify-deploy): ensure --cwd parameter works as expected with the latest netlify-cli (#233)
1 parent 9620aab commit 811d1fb

File tree

3 files changed

+221
-17
lines changed

3 files changed

+221
-17
lines changed

package-lock.json

Lines changed: 219 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"lerna-changelog": "2.2.0",
5353
"lodash": "4.17.21",
5454
"netlify": "13.1.21",
55-
"netlify-cli": "17.35.0",
55+
"netlify-cli": "17.36.0",
5656
"ora": "8.1.0",
5757
"pluralize": "8.0.0",
5858
"react-docgen-typescript": "2.2.2",

src/netlify/deploy/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const execute = async (args: INetlifyDeployArgs): Promise<RETVAL | undefi
4747
'deploy',
4848
`--site=${siteId}`,
4949
`--auth=${token}`,
50-
`--cwd=${args.dir}`,
50+
`--cwd=${process.cwd()}`,
5151
`--dir=${args.dir}`,
5252
'--json'
5353
];

0 commit comments

Comments
 (0)