@@ -11,7 +11,7 @@ const sendFile = async (urlPath, data) => {
|
|||||||
let r = await fetch(`${repoBaseUrl}/${urlPath}`, {
|
let r = await fetch(`${repoBaseUrl}/${urlPath}`, {
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Basic ${process.env.INPUT_REPO_USER}:${process.env.INPUT_REPO_PASS}`,
|
Authorization: `Basic ${Buffer.from(`${process.env.INPUT_REPO_USER}:${process.env.INPUT_REPO_PASS}`).toString("base64")}`,
|
||||||
},
|
},
|
||||||
body: data,
|
body: data,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user