Skip to content

Commit

Permalink
Run jekyll with JEKYLL_ENV=production when building a release
Browse files Browse the repository at this point in the history
  • Loading branch information
zunda committed May 15, 2018
1 parent 6bb5400 commit 6fcf7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ http://127.0.0.1:4000/ にローカル開発サーバーが起動し、Markdown

1. 受け付けたリリース対象の記事のPull Requestをmergeします。
1. 次のことがTravisでできそうなので、実装すれば良さそう。
- `bundle exec jekyll build`を実行します。
- `JEKYLL_ENV=production bundle exec jekyll build`を実行します。
- `_site`にサイトが生成されるので`git commit`して`gh-page`ブランチにcommit、`git push`します。

上記のようにしているのは、amazonの書影をとるためにpluginを使用しているため。これを解決できれば、特にcloneしなくても動かせるものと考えています。
Expand Down

0 comments on commit 6fcf7ba

Please sign in to comment.