Skip to content

Commit

Permalink
[github-actions] make curl silent
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronny Wegener committed Jan 18, 2020
1 parent b4d712d commit abeb38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy-web.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit abeb38f

Please sign in to comment.