mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-20 09:36:46 +00:00
adjust url
This commit is contained in:
parent
b9415707f9
commit
56f7cd9914
2 changed files with 6 additions and 6 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
@ -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']
|
||||
}, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue