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
b917b55fb5
commit
613567f428
@ -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 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 push --force ${constants_1.repositoryPath}`, constants_1.action.build);
|
||||
yield util_1.execute(`git push origin ${constants_1.action.branch}`, constants_1.action.build);
|
||||
/*
|
||||
await execute(
|
||||
`git worktree add --checkout ${temporaryDeploymentDirectory} origin/${action.branch}`,
|
||||
|
@ -87,7 +87,7 @@ export async function deploy(): Promise<any> {
|
||||
);
|
||||
|
||||
await execute(
|
||||
`git push --force ${repositoryPath}`,
|
||||
`git push origin ${action.branch}`,
|
||||
action.build
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user