Skip to content
This repository was archived by the owner on Jun 26, 2022. It is now read-only.

Commit 819ba5c

Browse files
committed
blog updates
1 parent fd41025 commit 819ba5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/push.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ if(bc.meta.userpage){
3737
// else clause: this is a repopage blog
3838
log(chalk.bold.green(`Pushing changes to gh-pages branch of ${bc.username}/${bc.repo}`));
3939

40-
//let subtreecommand = `git subtree push --prefix dist`;
41-
let subtreecommand = `git subtree split --prefix dist`;
40+
let subtreecommand = `git subtree push --prefix dist`;
41+
//let subtreecommand = `git subtree split --prefix dist`;
4242
let commitmessage = `blog updates`;
4343

4444
try {
4545
exec(`git add -A`);
4646
exec(`git commit -m '${commitmessage}'`);
4747
}
4848
finally {
49-
// exec(`${subtreecommand} origin gh-pages`, callback);
50-
exec(`git push origin \`${subtreecommand}\`:gh-pages --force`, callback);
49+
exec(`${subtreecommand} origin gh-pages`, callback);
50+
//exec(`git push origin \`${subtreecommand}\`:gh-pages --force`, callback);
5151
}
5252

5353
}

0 commit comments

Comments
 (0)