actions: deployment workflow gemaakt
This commit is contained in:
		
							parent
							
								
									6b23169421
								
							
						
					
					
						commit
						4507f908e2
					
				
					 1 changed files with 25 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								.github/workflows/deployment.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/deployment.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| name: Deployment | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|         - main | ||||
|   pull_request: | ||||
|     branches: | ||||
|         - main | ||||
|     types: | ||||
|         - closed | ||||
| 
 | ||||
| jobs: | ||||
|   docker: | ||||
|     name: Deploy with docker | ||||
|     if: github.event.pull_request.merged == true | ||||
|     runs-on: [self-hosted, Linux, X64] | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Start docker | ||||
|         run: docker compose -f compose.yml -f compose.override.yml up --build -d | ||||
|          | ||||
		Reference in a new issue
	
	 Timo De Meyst
						Timo De Meyst