Skip to content

Commit 66c26b8

Browse files
committed
chore(workflows): make CI/CD look a little bit better
1 parent 069de6d commit 66c26b8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.lune/deploy.luau

+8-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,18 @@ multiformContent ..= `{fs.readFile(artifact)}\r\n`
2626

2727
multiformContent ..= `--{multiformContentBoundary}--\r\n`
2828

29-
print(net.request({
29+
local request = net.request({
3030
url = "https://preview.metrik.app/api/sdk/upload-artifact",
3131
method = "POST",
3232
headers = {
3333
["Authorization"] = `Bearer {authorization}`,
3434
["content-type"] = `multipart/form-data; boundary={multiformContentBoundary}`
3535
},
3636
body = multiformContent
37-
}))
37+
})
38+
39+
local body = net.jsonDecode(request.body)
40+
41+
print(string.rep(`-`, 24))
42+
print(body.url)
43+
print(string.rep(`-`, 24))

0 commit comments

Comments
 (0)