mirror of
				https://github.com/dcarrillo/docker-nginx.git
				synced 2025-10-31 14:39:08 +00:00 
			
		
		
		
	chore: Add tests to deployment workflow
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @@ -9,8 +9,6 @@ on: | |||||||
| jobs: | jobs: | ||||||
|   tests: |   tests: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     if: github.event_name == 'pull_request' |  | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v3 |       - uses: actions/checkout@v3 | ||||||
|  |  | ||||||
| @@ -28,8 +26,9 @@ jobs: | |||||||
|  |  | ||||||
|   deploy: |   deploy: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|  |     needs: | ||||||
|  |       - tests | ||||||
|     if: github.event_name == 'push' |     if: github.event_name == 'push' | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v3 |       - uses: actions/checkout@v3 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user