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
613567f428
commit
3843226fed
@ -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 origin ${constants_1.action.branch}`, constants_1.action.build);
|
||||
yield util_1.execute(`git push --force 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 origin ${action.branch}`,
|
||||
`git push --force origin ${action.branch}`,
|
||||
action.build
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user