3 ms·
Dokuen operates as a pre-receive hook on the receiving git repository, on the server side. This is so that if something prevents your app from building the remo
by zrail 14y ago
Dokuen operates as a pre-receive hook on the receiving git repository, on the server side. This is so that if something prevents your app from building the remote repo doesn't get corrupted by a bad push. Your post-commit hooks on your development repo will continue to work as normal.
At the moment the only additional hook that Dokuen supports is after-build, before app startup. You set it by setting the DOKUEN_AFTER_BUILD environment variable to a command that you want to run. For example, I have one of my apps set to run "rake db:migrate" here.