FIX: run pull_compatible_all as discourse
authorJeff Wong <awole20@gmail.com>
Mon, 6 Jul 2020 23:14:01 +0000 (16:14 -0700)
committerJeff Wong <awole20@gmail.com>
Mon, 6 Jul 2020 23:14:01 +0000 (16:14 -0700)
templates/web.template.yml

index e7ed11105a2c14a21656413f66944b783da6e7c1..7ddddd76f3336179b67474fd142ef4f76d0f3f63 100644 (file)
@@ -154,7 +154,8 @@ run:
 
   - exec:
       cd: $home
-      cmd: bundle exec rake plugin:pull_compatible_all
+      cmd:
+        - su discourse -c 'bundle exec rake plugin:pull_compatible_all'
       raise_on_fail: false
 
   - exec: