mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-09 12:26:11 +00:00
fix unable to cancel deployment due to cancel token nil
This commit is contained in:
@@ -24,7 +24,7 @@ async function cancelHandler(evtOrExitCodeOrError) {
|
||||
{
|
||||
headers: {
|
||||
Accept: 'application/vnd.github.v3+json',
|
||||
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
|
||||
Authorization: `Bearer ${deployment.githubToken}`,
|
||||
'Content-type': 'application/json'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user