Mise à jour de '.drone.yml'
	
		
			
	
		
	
	
		
	
		
			Some checks reported errors
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build encountered an error
				
			
		
		
	
	
				
					
				
			
		
			Some checks reported errors
		
		
	
	continuous-integration/drone/push Build encountered an error
				
			This commit is contained in:
		
							parent
							
								
									64f972e743
								
							
						
					
					
						commit
						d40225dbaa
					
				
							
								
								
									
										80
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										80
									
								
								.drone.yml
									
									
									
									
									
								
							| @ -2,49 +2,49 @@ kind: pipeline | ||||
| name: mkdocs build and deploy | ||||
| type: docker | ||||
| platform: | ||||
| 	os: linux | ||||
| 	arch: arm64 | ||||
|   os: linux | ||||
|   arch: arm64 | ||||
| trigger: | ||||
| 	branch: | ||||
| 	- master | ||||
|   branch: | ||||
|     - master | ||||
| 	 | ||||
| 	steps: | ||||
| steps: | ||||
| 	 | ||||
| 	- name: build mkdocs site | ||||
| 	  image: plugins/docker | ||||
| 	    output: ./site | ||||
| 	  command: ["mkdocs build"] | ||||
| - name: build mkdocs site | ||||
|   image: plugins/docker | ||||
| 	output: ./site | ||||
|   command: ["mkdocs build"] | ||||
| 
 | ||||
| 	 | ||||
| 	- name: deploy on server | ||||
| 	  image: drillster/drone-rsync | ||||
| 	  settings: | ||||
| 	    hosts: ["192.168.1.101"] | ||||
| 	    target: /home/gregan/workspace/mkdocs/doc/site | ||||
| 	    source: site/* | ||||
| 	    port: | ||||
| 	      from_secret: RSYNC_PORT | ||||
| 	    user: | ||||
| 	      from_secret: RSYNC_USER_STACK | ||||
| 	    key: | ||||
| 	      from_secret: RSYNC_SSH_KEY_STACK | ||||
| - name: deploy on server | ||||
|   image: drillster/drone-rsync | ||||
|   settings: | ||||
| 	hosts: ["192.168.1.101"] | ||||
| 	target: /home/gregan/workspace/mkdocs/doc/site | ||||
| 	source: site/* | ||||
| 	port: | ||||
| 		from_secret: RSYNC_PORT | ||||
| 	user: | ||||
| 		from_secret: RSYNC_USER_STACK | ||||
| 	key: | ||||
| 		from_secret: RSYNC_SSH_KEY_STACK | ||||
| 	       | ||||
| 	- name: notification | ||||
| 	  image: appleboy/drone-telegram | ||||
| 	  settings: | ||||
| 	    token:  | ||||
| 	      from_secret: TELEGRAM_TOKEN | ||||
| 	    to:  | ||||
| 	      from_secret: TELEGRAM_USERID | ||||
| 	  when: | ||||
| 	    status: | ||||
| 	      - failure | ||||
| 	      - success | ||||
| 	    format: markdown | ||||
| 	    message: > | ||||
| 	      📝 {{repo.name}} / {{commit.branch}} - {{commit.message}} | ||||
| 	      {{#success build.status}} | ||||
| 	        ✅ succeeded  for 👷♂️ build {{build.number}} | ||||
| 	      {{else}} | ||||
| 	        🛑 failed for 👷♂️ build {{build.number}} | ||||
| 	      {{/success}}  | ||||
| - name: notification | ||||
|   image: appleboy/drone-telegram | ||||
|   settings: | ||||
|     token:  | ||||
| 	  from_secret: TELEGRAM_TOKEN | ||||
| 	to:  | ||||
| 	  from_secret: TELEGRAM_USERID | ||||
|   when: | ||||
| 	status: | ||||
| 	  - failure | ||||
| 	  - success | ||||
| 	format: markdown | ||||
| 	message: > | ||||
| 		📝 {{repo.name}} / {{commit.branch}} - {{commit.message}} | ||||
| 		{{#success build.status}} | ||||
| 		✅ succeeded  for 👷♂️ build {{build.number}} | ||||
| 		{{else}} | ||||
| 		🛑 failed for 👷♂️ build {{build.number}} | ||||
| 		{{/success}}  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	