mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-05 19:11:36 +00:00
fix: Enable to create branch for first deployment (#92)
* fix: Enable to create branch for first deployment
* fix: remove pull_request
* ci: remove lint-staged husky for testing
* ci: Add git checkout {package-lock,package}.json
This commit is contained in:
1 parent
479c59e6d2
commit
1b6740cb30
3 files changed
+33
-26
No files matched your search
@@ -100,9 +100,6 @@ export async function setGithubToken(
|
||||
`You deploy from ${inps.PublishBranch} to ${inps.PublishBranch}`
|
||||
);
|
||||
}
|
||||
} else if (context.eventName === 'pull_request') {
|
||||
// TODO: support pull_request event
|
||||
throw new Error('This action does not support pull_request event now.');
|
||||
}
|
||||
|
||||
const isPrivateRepository = payload.repository?.private;
|
||||
|
||||
Reference in new issue
Block a user