Skip to content

Commit f8d4988

Browse files
committed
Write config to publish dir
1 parent c465941 commit f8d4988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@ module.exports = {
106106

107107
console.log('Writing updated config to publish dir...')
108108
const config_out = toml.stringify(netlifyConfig)
109-
await fs.writeFile(path.join(process.cwd(), 'netlify.toml'), config_out)
109+
await fs.writeFile(path.join(PUBLISH_DIR, 'netlify.toml'), config_out)
110110
},
111111
}

0 commit comments

Comments
 (0)