This commit is contained in:
Luk Lu
2021-09-09 22:28:23 +08:00
parent 511136ec21
commit c2c8ad6c93
3 changed files with 5 additions and 5 deletions

View File

@@ -220,7 +220,7 @@ function deployToGit(connection){
return {
url: url,
branch: branch || 'master'
branch: branch || 'main'
}
}
@@ -261,7 +261,7 @@ function deployToGit(connection){
help += 'You have to configure the deployment settings in config files or command line first!\n\n'
help += 'Example:\n'
help += ' node deploy.js -t git -r https://github.com/OWNER/OWNER.github.io -b master -f ./dist'
help += ' node deploy.js -t git -r https://github.com/OWNER/OWNER.github.io -b main -f ./dist'
console.log(help)
return