Use matrix-commander for notifications
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/main Pipeline was successful
				
			
		
		
	
	
		
	
		
			All checks were successful
		
		
	
	ci/woodpecker/push/main Pipeline was successful
				
			This commit is contained in:
		
					parent
					
						
							
								e96e2f427e
							
						
					
				
			
			
				commit
				
					
						b39da463f7
					
				
			
		
					 1 changed files with 6 additions and 9 deletions
				
			
		|  | @ -21,15 +21,12 @@ pipeline: | |||
|     volumes: | ||||
|       - /srv/www/htdocs/dennogumi.org:/site | ||||
|   notify: | ||||
|     image: plugins/matrix | ||||
|     settings: | ||||
|       homeserver: https://conference.heavensinferno.net | ||||
|       roomid: | ||||
|         from_secret: roomid | ||||
|       accesstoken: | ||||
|         from_secret: access_token | ||||
|       userid: | ||||
|         from_secret: user_id | ||||
|     image: matrixcommander/matrix-commander:latest | ||||
|     commands: | ||||
|       - 'export MESSAGE="#### 🛈 CI pipeline report\n\n *CI Build for* $CI_REPO: **$CI_BUILD_STATUS**<br />*Commit author*: $CI_COMMIT_AUTHOR<br />*Commit*: [${CI_COMMIT_SHA:0:8}]($CI_BUILD_LINK) (branch $CI_COMMIT_BRANCH)"' | ||||
|       - '/bin/python3 /app/matrix_commander/matrix-commander --markdown -s /data/store -c /data/credentials.json --message "$(echo -e $${MESSAGE})"' | ||||
|     volumes: | ||||
|       - /var/lib/matrix-commander-docker:/data | ||||
|     when: | ||||
|       status: | ||||
|         - failure | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue