diff --git a/gulpfile.js b/gulpfile.js index ed94a20a..b4151d41 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -158,7 +158,7 @@ var gitAdd = function(done) { }; var gitDeployMergeMain = function(done) { - execSync('git checkout gh-pages && git merge master -m "merge master"'); + execSync('git checkout gh-pages && git merge main -m "merge main"'); done(); }; @@ -166,7 +166,7 @@ var gitDeployPushOrigin = function(done) { execSync('git commit -am "rebuild for prod"; ' + 'git push origin gh-pages --force && ' + 'git branch -f trunk gh-pages && ' + - 'git checkout master' + 'git checkout main' ); done(); };