This commit is contained in:
		
							
								
								
									
										59
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										59
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -1,6 +1,6 @@
 | 
				
			|||||||
kind: pipeline
 | 
					kind: pipeline
 | 
				
			||||||
type: docker
 | 
					type: docker
 | 
				
			||||||
name: sthope
 | 
					name: website-testing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clone:
 | 
					clone:
 | 
				
			||||||
  disable: false
 | 
					  disable: false
 | 
				
			||||||
@@ -30,36 +30,37 @@ steps:
 | 
				
			|||||||
    port: 22
 | 
					    port: 22
 | 
				
			||||||
    script:
 | 
					    script:
 | 
				
			||||||
      - bash ~/scripts/sthopedevupdate
 | 
					      - bash ~/scripts/sthopedevupdate
 | 
				
			||||||
 | 
					  when:
 | 
				
			||||||
 | 
					    status:
 | 
				
			||||||
 | 
					    - failure
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- 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.message}}
 | 
					 | 
				
			||||||
      ```
 | 
					 | 
				
			||||||
      🌐 <{{ build.link }}>
 | 
					 | 
				
			||||||
      {{else}}
 | 
					 | 
				
			||||||
      ❌ Build #{{build.number}} of `{{repo.name}}` failed.
 | 
					 | 
				
			||||||
      📝 Commit by {{commit.author}} on `{{commit.branch}}`:
 | 
					 | 
				
			||||||
      ```
 | 
					 | 
				
			||||||
      {{commit.message}}
 | 
					 | 
				
			||||||
      ```
 | 
					 | 
				
			||||||
      🌐 <{{ build.link }}>
 | 
					 | 
				
			||||||
      {{/success}}   
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
       
 | 
					       
 | 
				
			||||||
 | 
					#       📝 Commit by {{commit.author}} on `{{commit.branch}}`:
 | 
				
			||||||
 | 
					#       ```
 | 
				
			||||||
 | 
					#       {{commit.message}}
 | 
				
			||||||
 | 
					#       ```
 | 
				
			||||||
 | 
					#       🌐 <{{ build.link }}>
 | 
				
			||||||
 | 
					#       {{else}}
 | 
				
			||||||
 | 
					#       ❌ Build #{{build.number}} of `{{repo.name}}` failed.
 | 
				
			||||||
 | 
					#       📝 Commit by {{commit.author}} on `{{commit.branch}}`:
 | 
				
			||||||
 | 
					#       ```
 | 
				
			||||||
 | 
					#       {{commit.message}}
 | 
				
			||||||
 | 
					#       ```
 | 
				
			||||||
 | 
					#       🌐 <{{ build.link }}>
 | 
				
			||||||
 | 
					#       {{/success}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # when:
 | 
					  # when:
 | 
				
			||||||
  #   event:
 | 
					  #   event:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,7 +24,7 @@ linkedin_link:
 | 
				
			|||||||
google_plus_link:
 | 
					google_plus_link:
 | 
				
			||||||
stackoverflow_link:
 | 
					stackoverflow_link:
 | 
				
			||||||
xing_link:
 | 
					xing_link:
 | 
				
			||||||
 | 
					nj
 | 
				
			||||||
# footer_left: "Made with <i class=\"fa fa-heart\"></i>"
 | 
					# footer_left: "Made with <i class=\"fa fa-heart\"></i>"
 | 
				
			||||||
footer_left: "Copyright © 2021 Sthope"
 | 
					footer_left: "Copyright © 2021 Sthope"
 | 
				
			||||||
footer_right: "</> on <a href=\"https://git.sthope.dev/sthope/website\">Sthope</a>  <i class=\"fa fa-git\"></i>"
 | 
					footer_right: "</> on <a href=\"https://git.sthope.dev/sthope/website\">Sthope</a>  <i class=\"fa fa-git\"></i>"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user