将插件添加到 app.yml 的格式问题

从您之前发布的这张图片来看:

您还需要遵循第一个原始行的格式,如这里所述:

所以您的可能需要看起来像这样:


hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-akismet.git
          - git clone https://github.com/discourse/discourse-whos-online.git

4 个赞