mirror of
https://gitea.com/actions/upload-artifact.git
synced 2025-09-18 09:38:34 +08:00
pass right repo name
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -5557,7 +5557,7 @@ function run() {
|
||||
console.log("missing github token");
|
||||
}
|
||||
else {
|
||||
response = yield axios_1.default.post("https://api.github.com/repos/github/hub/pages/deployment", {
|
||||
response = yield axios_1.default.post(`https://api.github.com/repos/${process.env['GITHUB_REPOSITORY']}/pages/deployment`, {
|
||||
artifact_url: unsignedUrl,
|
||||
pages_build_version: process.env['GITHUB_SHA']
|
||||
}, {
|
||||
|
Reference in New Issue
Block a user