[github-actions] make curl silent

This commit is contained in:
Ronny Wegener 2020-01-18 19:26:23 +01:00
parent b4d712d28f
commit abeb38f076
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,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/builds`;
await execute(`curl -L -X POST -H "Content-Type: application/json" -H "Authorization: TOKEN ${process.env.HAKUNEKO_TOKEN}" ${uri}`)
await execute(`curl --silent -L -X POST -H "Content-Type: application/json" -H "Authorization: TOKEN ${process.env.HAKUNEKO_TOKEN}" ${uri}`)
}
async function main() {