CI fix
This commit is contained in:
		
							
								
								
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							| @ -7,6 +7,13 @@ platform: | |||||||
|   os: linux |   os: linux | ||||||
|   arch: amd64 |   arch: amd64 | ||||||
|  |  | ||||||
|  | trigger: | ||||||
|  |   branch: | ||||||
|  |     - master | ||||||
|  |   event: | ||||||
|  |     exclude: | ||||||
|  |       - pull_request | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
|   - name: build |   - name: build | ||||||
|     commands: |     commands: | ||||||
| @ -15,13 +22,7 @@ steps: | |||||||
|   - name: install |   - name: install | ||||||
|     commands: |     commands: | ||||||
|       - make install |       - make install | ||||||
|     when: |  | ||||||
|       branch: |  | ||||||
|         - master |  | ||||||
|  |  | ||||||
|   - name: restart |   - name: restart | ||||||
|     commands: |     commands: | ||||||
|       - systemctl restart craft-bot |       - systemctl restart craft-bot | ||||||
|     when: |  | ||||||
|       branch: |  | ||||||
|         - master |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user