This commit is contained in:
		
							
								
								
									
										52
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										52
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -34,33 +34,33 @@ steps:
 | 
				
			|||||||
    status:
 | 
					    status:
 | 
				
			||||||
    - success
 | 
					    - success
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: discord
 | 
					# - name: discord
 | 
				
			||||||
  pull: always
 | 
					#   pull: always
 | 
				
			||||||
  image: appleboy/drone-discord
 | 
					#   image: appleboy/drone-discord
 | 
				
			||||||
  avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png"
 | 
					#   avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png"
 | 
				
			||||||
  environment:
 | 
					#   environment:
 | 
				
			||||||
    DISCORD_WEBHOOK_ID:
 | 
					#     DISCORD_WEBHOOK_ID:
 | 
				
			||||||
      from_secret: discord_webhook_id
 | 
					#       from_secret: discord_webhook_id
 | 
				
			||||||
    DISCORD_WEBHOOK_TOKEN:
 | 
					#     DISCORD_WEBHOOK_TOKEN:
 | 
				
			||||||
      from_secret: discord_webhook_token
 | 
					#       from_secret: discord_webhook_token
 | 
				
			||||||
  settings:
 | 
					#   settings:
 | 
				
			||||||
    message: >
 | 
					#     message: >
 | 
				
			||||||
      {{#success build.status}}
 | 
					#       {{#success build.status}}
 | 
				
			||||||
      ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
 | 
					#       ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
 | 
				
			||||||
       
 | 
					       
 | 
				
			||||||
      📝 Commit by {{commit.author}} on `{{commit.branch}}`:
 | 
					#       📝 Commit by {{commit.author}} on `{{commit.branch}}`:
 | 
				
			||||||
      ```
 | 
					#       ```
 | 
				
			||||||
      {{commit.message}}
 | 
					#       {{commit.message}}
 | 
				
			||||||
      ```
 | 
					#       ```
 | 
				
			||||||
      🌐 <{{ build.link }}>
 | 
					#       🌐 <{{ build.link }}>
 | 
				
			||||||
      {{else}}
 | 
					#       {{else}}
 | 
				
			||||||
      ❌ Build #{{build.number}} of `{{repo.name}}` failed.
 | 
					#       ❌ Build #{{build.number}} of `{{repo.name}}` failed.
 | 
				
			||||||
      📝 Commit by {{commit.author}} on `{{commit.branch}}`:
 | 
					#       📝 Commit by {{commit.author}} on `{{commit.branch}}`:
 | 
				
			||||||
      ```
 | 
					#       ```
 | 
				
			||||||
      {{commit.message}}
 | 
					#       {{commit.message}}
 | 
				
			||||||
      ```
 | 
					#       ```
 | 
				
			||||||
      🌐 <{{ build.link }}>
 | 
					#       🌐 <{{ build.link }}>
 | 
				
			||||||
      {{/success}}
 | 
					#       {{/success}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#   # when:
 | 
					#   # when:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user