Update git.js

This commit is contained in:
James Ives 2020-05-24 12:56:27 -04:00
parent 44b4fa6ba7
commit 51f4ac3d8e

View File

@ -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);