mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update git.js
This commit is contained in:
parent
44b4fa6ba7
commit
51f4ac3d8e
@ -72,8 +72,10 @@ exports.generateBranch = generateBranch;
|
||||
/* Runs the necessary steps to make the deployment. */
|
||||
function deploy(action) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const temporaryDeploymentDirectory = 'gh-action-temp-deployment-folder';
|
||||
const temporaryDeploymentBranch = 'gh-action-temp-deployment-branch';
|
||||
const temporaryDeploymentDirectory = 'github-pages-deploy-action-temp-deployment-folder';
|
||||
const temporaryDeploymentBranch = `github-pages-deploy-action/${Math.random()
|
||||
.toString(36)
|
||||
.substr(2, 9)}`;
|
||||
core_1.info('Starting to commit changes…');
|
||||
try {
|
||||
util_1.hasRequiredParameters(action);
|
||||
|
Loading…
Reference in New Issue
Block a user