Separate themes:update and assets:precompile tasks (#522)
authorPenar Musaraj <pmusaraj@gmail.com>
Thu, 4 Feb 2021 13:52:03 +0000 (08:52 -0500)
committerGitHub <noreply@github.com>
Thu, 4 Feb 2021 13:52:03 +0000 (08:52 -0500)
templates/web.template.yml

index 28fb22d00877400050c0705671965780e72ba0b4..ed32c6a80e2c429e1166da76c88c606634d26581 100644 (file)
@@ -169,7 +169,8 @@ run:
       cd: $home
       hook: assets_precompile
       cmd:
-        - su discourse -c 'bundle exec rake themes:update assets:precompile'
+        - su discourse -c 'bundle exec rake themes:update'
+        - su discourse -c 'bundle exec rake assets:precompile'
 
   - file:
      path: /usr/local/bin/discourse