mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
3.4.3
This commit is contained in:
parent
7e69d032e3
commit
48815494c2
@ -56,7 +56,7 @@ function generateBranch(action) {
|
||||
yield execute_1.execute(`git checkout --orphan ${action.branch}`, action.workspace);
|
||||
yield execute_1.execute(`git reset --hard`, action.workspace);
|
||||
yield execute_1.execute(`git commit --allow-empty -m "Initial ${action.branch} commit"`, action.workspace);
|
||||
yield execute_1.execute(`git push ${action.repositoryPath} ${action.branch}`, action.workspace);
|
||||
yield execute_1.execute(`git push --force ${action.repositoryPath} ${action.branch}`, action.workspace);
|
||||
yield execute_1.execute(`git fetch`, action.workspace);
|
||||
core_1.info(`Created the ${action.branch} branch… 🔧`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user