From c90460802e773ef78ea6534c869fb604c7091898 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Tue, 4 Oct 2016 16:55:31 +0800 Subject: [PATCH] enable heroku to serve apidocs --- lib/tasks/extensions.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/extensions.rake b/lib/tasks/extensions.rake index 776c81e3..6efd9026 100644 --- a/lib/tasks/extensions.rake +++ b/lib/tasks/extensions.rake @@ -3,6 +3,7 @@ namespace :assets do task :js_compile do system 'npm install' system 'npm run build' + system 'bin/build-apidocs.sh' if ENV['MAILER_DEFAULT_URL'] == 'metamaps.herokuapp.com' end end