enable heroku to serve apidocs
This commit is contained in:
parent
a9831946d0
commit
c90460802e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue