adjust url

This commit is contained in:
yimysty 2021-09-22 17:32:20 -07:00
parent b9415707f9
commit 56f7cd9914
2 changed files with 6 additions and 6 deletions

6
dist/index.js vendored
View file

@ -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']
}, {