Skip to content

Files

Latest commit

 

History

History
25 lines (20 loc) · 1.1 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.1 KB

Discourse Custom Automations

Overview

Triggers an email notification when a new post is created.

The primary goal of this plugin is to server as a "Hello, World!" for me to learn and demonstrate how the Discourse Automation plugin works.

Features

  • Integration with DiscourseAutomation: Integrates with the existing DiscourseAutomation plugin.
  • Automatic Email Notifications: Sends an email to a specified recipient whenever a new post is created on the forum.
  • Customizable Email Content: Allows setting the recipient, subject, and body of the email through the Site Settings.

Installation

  1. Add the DiscourseAutomation plugin's repository URL to your Discourse's containers/app.yml file under the hooks section.
  2. Add this plugin's repository URL to your Discourse's containers/app.yml file under the hooks section.
    hooks:
      after_code:
        - exec:
            cd: $home/plugins
            cmd:
              - git clone https://github.com/discourse/discourse-automation.git
              - git clone https://github.com/[your-username]/discourse-custom-automations.git