Skip to content

Commit

Permalink
chore: update deploy branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hunghg255 committed Nov 9, 2023
1 parent ae2ef9a commit 1570211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/deploy/branch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const deployBranch = async ({ surgeToken, dist, failOnError }: any) => {

try {
await execSurgeCommand({
command: ['surge', `./${dist}`, '--token', surgeToken, '--cleanup'],
command: ['surge', 'teardown', url, '--token', surgeToken],
});
} catch (error: any) {
fail?.(error);
Expand Down

0 comments on commit 1570211

Please sign in to comment.