Thank you @schleifer. Your reply is very helpful. However, I still have some follow up questions:
-
Where I can find the document for hooks like
after_assets_precompile? I searched Docker document as well as discourse Github repo but I can’t find any information about it. Do I have to set up the hooks namedafter_assets_precompileby myself (How to do this?) or it’s already set up by discourse likeafter_code? -
IIUC, my pseudocode would look like
hooks: after_assets_precompile: - exec: cd: $home cmd: - enter to the docker container - cd to `/var/www/discourse/public/assets/` - git add, commit and push to Github repo
Thank you.