Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OfflineGenerationError with Heroku + Django Compressor #2583

Merged
merged 1 commit into from
Jul 4, 2020

Conversation

browniebroke
Copy link
Member

Description

Add post_compile build hook to run offline compression when using Heroku + Django Compressor. The hook is copying what we do in Docker currently, and should be removed as soon as either Heroku or compressor are deselected.

Rationale

Fixes #2581

@browniebroke browniebroke force-pushed the 2581-heroku-compressor-error branch from 0daaebd to d91f968 Compare May 5, 2020 20:18
@browniebroke browniebroke force-pushed the 2581-heroku-compressor-error branch from d91f968 to 68116dc Compare July 4, 2020 14:21
@browniebroke browniebroke merged commit 4a4dd05 into master Jul 4, 2020
@browniebroke browniebroke deleted the 2581-heroku-compressor-error branch July 4, 2020 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OfflineGenerationError when deploying with compressor on Heroku
1 participant