|
|
|
@ -5550,10 +5550,10 @@ function run() {
|
|
|
|
|
"Content-Type": "application/json"
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
const unsignedUrl = response.data.value[0].url;
|
|
|
|
|
console.log(response);
|
|
|
|
|
const unsignedUrl = `${response.data.value[0].url}`;
|
|
|
|
|
console.log(response.data);
|
|
|
|
|
console.log(`unsigned artifact url is ${unsignedUrl}`);
|
|
|
|
|
response = yield axios_1.default.post("api.github.com/repos/github/hub/pages/deployment", {
|
|
|
|
|
response = yield axios_1.default.post("https://api.github.com/repos/github/hub/pages/deployment", {
|
|
|
|
|
artifact_url: unsignedUrl,
|
|
|
|
|
pages_build_version: process.env['GITHUB_SHA']
|
|
|
|
|
}, {
|
|
|
|
|