Skip to content

Commit f859bee

Browse files
DEV: re-split build vs compile (#878)
Allow for assets to be precompiled fully in a build image. The only remaining things for configure is update themes, maxmind download, and css compiling.
1 parent 97216ba commit f859bee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/web.template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,13 @@ run:
234234
tag: build
235235
hook: assets_precompile_build
236236
cmd:
237-
- su discourse -c 'bundle exec rake assets:precompile:build'
237+
- su discourse -c 'SKIP_DB_AND_REDIS=1 bundle exec rake assets:precompile'
238238
- exec:
239239
cd: $home
240240
tag: precompile
241241
hook: assets_precompile
242242
cmd:
243-
- su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 bundle exec rake themes:update assets:precompile'
243+
- su discourse -c 'bundle exec rake themes:update maxminddb:refresh assets:precompile:css'
244244

245245
- replace:
246246
tag: precompile

0 commit comments

Comments
 (0)