This automation can be configured directly from the board's Automation section. Follow the steps below to complete the setup and ensure the automation runs as expected:

  1. Open the board that contains your courses

  2. Open the Automations dashboard and click on Create automation

  3. Choose the trigger "When status changes to something"

  4. Select the Status column and choose Published

  5. Add the action "Set date"

  6. Click on date column to select the Due date column 
  7. Click on date to select today
  8. Add the action "Push date"

  9. Click on date to select the Due date column 
  10. Click on some time to set the due date
  11. Create the automation

Example: