{"action":"created","issue":{"url":"https://api.github.com/repos/hexojs/hexo/issues/3138","repository_url":"https://api.github.com/repos/hexojs/hexo","labels_url":"https://api.github.com/repos/hexojs/hexo/issues/3138/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo/issues/3138/comments","events_url":"https://api.github.com/repos/hexojs/hexo/issues/3138/events","html_url":"https://github.com/hexojs/hexo/issues/3138","id":317926388,"node_id":"MDU6SXNzdWUzMTc5MjYzODg=","number":3138,"title":"github build failure","user":{"login":"losemyheaven","id":9379077,"node_id":"MDQ6VXNlcjkzNzkwNzc=","avatar_url":"https://avatars3.githubusercontent.com/u/9379077?v=4","gravatar_id":"","url":"https://api.github.com/users/losemyheaven","html_url":"https://github.com/losemyheaven","followers_url":"https://api.github.com/users/losemyheaven/followers","following_url":"https://api.github.com/users/losemyheaven/following{/other_user}","gists_url":"https://api.github.com/users/losemyheaven/gists{/gist_id}","starred_url":"https://api.github.com/users/losemyheaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losemyheaven/subscriptions","organizations_url":"https://api.github.com/users/losemyheaven/orgs","repos_url":"https://api.github.com/users/losemyheaven/repos","events_url":"https://api.github.com/users/losemyheaven/events{/privacy}","received_events_url":"https://api.github.com/users/losemyheaven/received_events","type":"User","site_admin":false},"labels":[{"id":704584446,"node_id":"MDU6TGFiZWw3MDQ1ODQ0NDY=","url":"https://api.github.com/repos/hexojs/hexo/labels/stale","name":"stale","color":"FFFFFF","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-26T08:28:13Z","updated_at":"2018-10-10T07:27:56Z","closed_at":"2018-07-02T10:00:57Z","author_association":"NONE","body":"<!--\r\nThank you for reporting an issue. For general issues/bugs, please view https://hexo.io/docs/troubleshooting.html .\r\nBefore you submit your issue, please provide the following information as much as possible.\r\n-->\r\n\r\n## Environment Info\r\n\r\nNode version(`node -v`): node -v\r\n\r\nYour site `_config.yml` (Optional): https://gist.github.com/losemyheaven/53866b8c69bdbcb6149ef501289b5cec\r\n\r\nYour theme `_config.yml` (Optional): \r\nhttps://gist.github.com/losemyheaven/53866b8c69bdbcb6149ef501289b5cec (bottom half)\r\n\r\nHexo and Plugin version(`npm ls --depth 0`): \r\nhexo-theme-next@5.1.4 /home/lost/code/losemyheaven.github.io/themes/next\r\n└── (empty)\r\n\r\n## For BUG\r\n1. BUG description\r\ngithub note me build failure due to HISTORY.md.\r\nBut `hexo s` works fine and I can get the right page.\r\n\r\n> The page build failed for the `master` branch with the following error:\r\n> \r\n> There is a syntax error in the 'for' loop on line 118 of `node_modules/hexo-deployer-git/node_modules/swig/HISTORY.md`. Valid syntax is 'for <item> in <collection>', and the <item> variable may not contain hyphens or quotation marks. For more information, see https://help.github.com/articles/page-build-failed-syntax-error-in-for-loop/.\r\n> \r\n> For information on troubleshooting Jekyll see:\r\n> \r\n>   https://help.github.com/articles/troubleshooting-jekyll-builds\r\n> \r\n> If you have any questions you can contact us by replying to this email.\r\n\r\n2. The way to reproduce\r\nyou can download my github.io repo\r\nhttps://github.com/losemyheaven/losemyheaven.github.io.git\r\nthere is two branch, hexo branch is for hexo\r\n\r\n\r\n<!-- If you find that markdown files are not rendered as expected, please go to https://marked.js.org/demo/ to see if it can be reproduced there. If it can be reproduced, please file a bug to https://github.com/markedjs/marked.\r\n-->\r\n\r\n## For question\r\n\r\n<!-- Question description -->\r\n\r\n## For feature request\r\n\r\n<!-- Feature description -->\r\n"},"comment":{"url":"https://api.github.com/repos/hexojs/hexo/issues/comments/428466936","html_url":"https://github.com/hexojs/hexo/issues/3138#issuecomment-428466936","issue_url":"https://api.github.com/repos/hexojs/hexo/issues/3138","id":428466936,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODQ2NjkzNg==","user":{"login":"fitsyu","id":5017610,"node_id":"MDQ6VXNlcjUwMTc2MTA=","avatar_url":"https://avatars0.githubusercontent.com/u/5017610?v=4","gravatar_id":"","url":"https://api.github.com/users/fitsyu","html_url":"https://github.com/fitsyu","followers_url":"https://api.github.com/users/fitsyu/followers","following_url":"https://api.github.com/users/fitsyu/following{/other_user}","gists_url":"https://api.github.com/users/fitsyu/gists{/gist_id}","starred_url":"https://api.github.com/users/fitsyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitsyu/subscriptions","organizations_url":"https://api.github.com/users/fitsyu/orgs","repos_url":"https://api.github.com/users/fitsyu/repos","events_url":"https://api.github.com/users/fitsyu/events{/privacy}","received_events_url":"https://api.github.com/users/fitsyu/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T07:27:56Z","updated_at":"2018-10-10T07:27:56Z","author_association":"NONE","body":"Hi,\r\nI was suffering from this issue as well.\r\nI followed deployment guide from the [doc.](http://hexo.io/docs/deployment)\r\n\r\nToday I realize that Github Pages could only be generated from either master or gh-pages branch as we can see in repository settings.\r\nSo I changed branch from `published`to `master`in deploy section in _config.yml file.\r\n\r\nHowever this caused my regular workflow's change.\r\nI have to use different branch to work and make `master`branch as publicaction branch.\r\n\r\nHope it helps.\r\n"}}
{"actor":{"display_login":"fitsyu"}}