Skip to content

Commit fd9baa9

Browse files
committed
fix: fixed deploy script
1 parent 13159ae commit fd9baa9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/deploy.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ const platform = os.platform();
88
/* eslint-disable no-console */
99
async function main(argv = process.argv) {
1010
argv = argv.slice(2);
11-
const publishArgs = ['publish', '--config', './wrangler.toml', ...argv];
12-
console.error(['wrangler', ...publishArgs].join(' '));
13-
childProcess.execFileSync('wrangler', publishArgs, {
11+
const deployArgs = ['deploy', '--config', './wrangler.toml', ...argv];
12+
console.error(['wrangler', ...deployArgs].join(' '));
13+
childProcess.execFileSync('wrangler', deployArgs, {
1414
stdio: ['inherit', 'inherit', 'inherit'],
1515
windowsHide: true,
1616
encoding: 'utf-8',

0 commit comments

Comments
 (0)