From 51f4ac3d8eee61c56287220b5413c627eea5c6f4 Mon Sep 17 00:00:00 2001 From: James Ives Date: Sun, 24 May 2020 12:56:27 -0400 Subject: [PATCH] Update git.js --- lib/git.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/git.js b/lib/git.js index 819b4065..5f1caeef 100644 --- a/lib/git.js +++ b/lib/git.js @@ -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);