Bladeren bron

doc: shellAfterCompleted should use `output`, not `stdout` [skip ci]

jamesread 1 jaar geleden
bovenliggende
commit
d4bd7dd586
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      config.yaml

+ 1 - 1
config.yaml

@@ -54,7 +54,7 @@ actions:
   # runs for too long.
   # runs for too long.
   - title: Run backup script
   - title: Run backup script
     shell: /opt/backupScript.sh
     shell: /opt/backupScript.sh
-    shellAfterCompleted: "apprise -t 'Notification: Backup script completed' -b 'The backup script completed with code {{ exitCode}}. The log is: \n {{ stdout }} '"
+    shellAfterCompleted: "apprise -t 'Notification: Backup script completed' -b 'The backup script completed with code {{ exitCode}}. The log is: \n {{ output }} '"
     maxConcurrent: 1
     maxConcurrent: 1
     timeout: 10
     timeout: 10
     icon: backup
     icon: backup