testing | dont be recursive for external domains | finalize oauth #5
			
				
			
		
		
		
	
							
								
								
									
										21
									
								
								.drone.yml
								
								
								
								
							
							
						
						
									
										21
									
								
								.drone.yml
								
								
								
								
							|  | @ -1,9 +1,15 @@ | |||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: build, publish docker image, deploy | ||||
| name: deployment | ||||
| 
 | ||||
| steps: | ||||
|   - name: run tests | ||||
|     image: golang | ||||
|     commands: | ||||
|       - go build | ||||
|       - go test -v ./... | ||||
| 
 | ||||
|   - name: docker | ||||
|     image: plugins/docker | ||||
|     settings: | ||||
|  | @ -13,9 +19,10 @@ steps: | |||
|         from_secret: gitea_packpub_password | ||||
|       registry: git.hatecomputers.club | ||||
|       repo: git.hatecomputers.club/hatecomputers/hatecomputers.club | ||||
|       tags: | ||||
|       - latest | ||||
|       - main | ||||
|     when: | ||||
|       branch: | ||||
|         - main | ||||
| 
 | ||||
|   - name: ssh | ||||
|     image: appleboy/drone-ssh | ||||
|     settings: | ||||
|  | @ -27,6 +34,10 @@ steps: | |||
|       command_timeout: 2m | ||||
|       script: | ||||
|         - systemctl restart docker-compose@hatecomputers-club | ||||
|     when: | ||||
|       branch: | ||||
|         - main | ||||
| 
 | ||||
| trigger: | ||||
|   branch: | ||||
|   - main | ||||
|     - main | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue