Update the email workflow
This commit is contained in:
		@@ -2,6 +2,7 @@
 | 
			
		||||
# -- Check da helm pipeline
 | 
			
		||||
# ----------------------------------------------
 | 
			
		||||
when:
 | 
			
		||||
  - push
 | 
			
		||||
  - event: cron
 | 
			
		||||
    cron: nightly
 | 
			
		||||
steps:
 | 
			
		||||
@@ -16,19 +17,15 @@ steps:
 | 
			
		||||
  notification:
 | 
			
		||||
    image: deblan/woodpecker-email
 | 
			
		||||
    settings:
 | 
			
		||||
      from: woody@badhouseplants.net
 | 
			
		||||
      host: badhouseplants.net
 | 
			
		||||
      skip_verify: true
 | 
			
		||||
      no_starttls: false
 | 
			
		||||
      username:
 | 
			
		||||
        from_secret: smtp_username
 | 
			
		||||
      password:
 | 
			
		||||
        from_secret: smtp_password
 | 
			
		||||
      dsn:
 | 
			
		||||
        from_secret: smtp_dsn
 | 
			
		||||
      from:
 | 
			
		||||
        address: woody@badhouseplants.net
 | 
			
		||||
        name: Woody Woodpecker
 | 
			
		||||
      recipients:
 | 
			
		||||
        - allanger@badhouseplants.net
 | 
			
		||||
      subject: CDH result
 | 
			
		||||
      target: main
 | 
			
		||||
      recipients_only: true
 | 
			
		||||
      attachment: result.html
 | 
			
		||||
    when:
 | 
			
		||||
      - status: [success, failure]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user