diff --git a/src/git.ts b/src/git.ts index 663edb13..1f49ef27 100644 --- a/src/git.ts +++ b/src/git.ts @@ -93,8 +93,10 @@ export async function generateBranch(action: ActionInterface): Promise { /* Runs the necessary steps to make the deployment. */ export async function deploy(action: ActionInterface): Promise { - 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)}` info('Starting to commit changes…')