FEATURE: Run themes:update before assets:precompile (#484)
authorDan Ungureanu <dan@ungureanu.me>
Mon, 16 Nov 2020 13:23:55 +0000 (15:23 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Nov 2020 13:23:55 +0000 (15:23 +0200)
templates/web.template.yml

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