Defining DISCOURSE_S3_CDN_URL links to assets in S3 CDN URL

You can use after_assets_precompile as the hook for that rake task.