定期的な再構築とWP-CLIコマンドによる再構築をコンソールもしくはcronで実行する機能を提供します。
必須要件
- StaticPress
- https://wordpress.org/plugins/staticpress/
- WP-CLI
- http://wp-cli.org
WP-CLIコマンドの使い方
userオプションを指定する必要があります。
$ wp staticpress build --user=<user_id/username/email>
WordPressがマルチサイトに設定されている場合は、どのブログか指定できます。
$ wp staticpress build --user=<user_id/username/email> --url=<url>