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:
Shohei Ueda authored and GitHub committed 2020-02-06 15:21:18 +09:00
1 parent 479c59e6d2
commit 1b6740cb30
3 files changed
+33 -26

No files matched your search

-3
View File
@@ -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;