mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2026-05-31 00:12:03 +08:00
fix: use - instead of / in temporary deployment branch name (#1962)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user