diff --git a/dist/index.js b/dist/index.js index 4a5167a..17a5566 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5557,6 +5557,8 @@ function run() { 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 = yield axios_1.default.post(`https://api.github.com/repos/${process.env['GITHUB_REPOSITORY']}/pages/deployment`, { artifact_url: unsignedUrl, pages_build_version: process.env['GITHUB_SHA'] diff --git a/src/upload-artifact.ts b/src/upload-artifact.ts index cc30552..5ce8f21 100644 --- a/src/upload-artifact.ts +++ b/src/upload-artifact.ts @@ -81,6 +81,8 @@ async function run(): Promise { 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']