mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Debugging
This commit is contained in:
parent
187b973eae
commit
b917b55fb5
@ -90,7 +90,7 @@ function deploy() {
|
|||||||
yield util_1.execute(`git remote add origin ${constants_1.repositoryPath}`, constants_1.action.build);
|
yield util_1.execute(`git remote add origin ${constants_1.repositoryPath}`, constants_1.action.build);
|
||||||
yield util_1.execute(`git add --all`, constants_1.action.build);
|
yield util_1.execute(`git add --all`, constants_1.action.build);
|
||||||
yield util_1.execute(`git commit -m "Deploying to ${constants_1.action.branch} from ${constants_1.action.baseBranch} ${process.env.GITHUB_SHA}" --quiet`, constants_1.action.build);
|
yield util_1.execute(`git commit -m "Deploying to ${constants_1.action.branch} from ${constants_1.action.baseBranch} ${process.env.GITHUB_SHA}" --quiet`, constants_1.action.build);
|
||||||
yield util_1.execute(`git push --force ${constants_1.repositoryPath} ${constants_1.action.baseBranch}:${constants_1.action.branch}`, constants_1.action.build);
|
yield util_1.execute(`git push --force ${constants_1.repositoryPath}`, constants_1.action.build);
|
||||||
/*
|
/*
|
||||||
await execute(
|
await execute(
|
||||||
`git worktree add --checkout ${temporaryDeploymentDirectory} origin/${action.branch}`,
|
`git worktree add --checkout ${temporaryDeploymentDirectory} origin/${action.branch}`,
|
||||||
|
@ -87,7 +87,7 @@ export async function deploy(): Promise<any> {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await execute(
|
await execute(
|
||||||
`git push --force ${repositoryPath} ${action.baseBranch}:${action.branch}`,
|
`git push --force ${repositoryPath}`,
|
||||||
action.build
|
action.build
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user