From 407a5d80bbf92816b624055ffc8892039fb9c2a2 Mon Sep 17 00:00:00 2001 From: Ronny Wegener Date: Sat, 18 Jan 2020 19:06:44 +0100 Subject: [PATCH] [github-actions] changed token to trigger page build --- deploy-web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-web.js b/deploy-web.js index 1d2b28a7d5..3e687cca88 100644 --- a/deploy-web.js +++ b/deploy-web.js @@ -73,7 +73,7 @@ async function gitCommit() { // - 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`; - await execute(`curl -L -X POST -H "Content-Type: application/json" -H "Authorization: token ${process.env.GITHUB_TOKEN}" ${uri}`) + await execute(`curl -L -X POST -H "Content-Type: application/json" -H "Authorization: TOKEN ${process.env.HAKUNEKO_TOKEN}" ${uri}`) } async function main() {