From ac8b489ae7377222daf0798ef5e229f9037126bd Mon Sep 17 00:00:00 2001 From: Ronny Wegener Date: Sat, 18 Jan 2020 19:11:25 +0100 Subject: [PATCH] [github-actions] fixed api URL to trigger page builds --- deploy-web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-web.js b/deploy-web.js index 3e687cca885..8466343ead9 100644 --- a/deploy-web.js +++ b/deploy-web.js @@ -72,7 +72,7 @@ async function gitCommit() { // See: // - https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869 // - https://github.com/peaceiris/actions-gh-pages/issues/9 - let uri = `https://api.github.com/repos/manga-download/hakuneko/pages/build`; + let uri = `https://api.github.com/repos/manga-download/hakuneko/pages/builds`; await execute(`curl -L -X POST -H "Content-Type: application/json" -H "Authorization: TOKEN ${process.env.HAKUNEKO_TOKEN}" ${uri}`) }