|
|
|
@ -81,6 +81,8 @@ async function run(): Promise<void> {
|
|
|
|
|
if (!inputs.token) {
|
|
|
|
|
console.log("missing github token")
|
|
|
|
|
} else {
|
|
|
|
|
console.log(`https://api.github.com/repos/${process.env['GITHUB_REPOSITORY']}/pages/deployment`)
|
|
|
|
|
console.log(`token: ${inputs.token}`)
|
|
|
|
|
response = await axios.post(`https://api.github.com/repos/${process.env['GITHUB_REPOSITORY']}/pages/deployment`, {
|
|
|
|
|
artifact_url: unsignedUrl,
|
|
|
|
|
pages_build_version: process.env['GITHUB_SHA']
|
|
|
|
|