Very first actual line starting hooks: can’t be right. It should be something like
hooks:
after_assets_precompile:
- exec:
cd: $home
cmd:
- sudo -E -u discourse bundle exec rake s3:upload_assets
- sudo -E -u discourse bundle exec rake posts:rebake
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
Well, not exacly like that because this is from mine, but lines, intends etc should be similar.