fix: use - instead of / in temporary deployment branch name (#1962)

This commit is contained in:
Copilot
2026-04-01 22:07:49 -04:00
committed by GitHub
parent 1b39d822db
commit 94cdce44a5

View File

@@ -108,7 +108,7 @@ export async function init(action: ActionInterface): Promise<void | Error> {
export async function deploy(action: ActionInterface): Promise<Status> {
const temporaryDeploymentDirectory =
'github-pages-deploy-action-temp-deployment-folder'
const temporaryDeploymentBranch = `github-pages-deploy-action/${Math.random()
const temporaryDeploymentBranch = `github-pages-deploy-action-${Math.random()
.toString(36)
.substr(2, 9)}`
const rsyncVersion = getRsyncVersion()