mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Don't run deploy job when repository is not esphome/esphome (#1157)
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/release-dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release-dev.yml
									
									
									
									
										vendored
									
									
								
							| @@ -172,6 +172,7 @@ jobs: | ||||
|  | ||||
|   deploy-docker: | ||||
|     name: Build and publish docker containers | ||||
|     if: github.repository == "esphome/esphome" | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: [lint-clang-format, lint-clang-tidy, lint-python, test, pytest] | ||||
|     strategy: | ||||
| @@ -227,6 +228,7 @@ jobs: | ||||
|  | ||||
|  | ||||
|   deploy-docker-manifest: | ||||
|     if: github.repository == "esphome/esphome" | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: [deploy-docker] | ||||
|     steps: | ||||
|   | ||||
							
								
								
									
										3
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -170,6 +170,7 @@ jobs: | ||||
|  | ||||
|   deploy-pypi: | ||||
|     name: Build and publish to PyPi | ||||
|     if: github.repository == "esphome/esphome" | ||||
|     needs: [lint-clang-format, lint-clang-tidy, lint-python, test, pytest] | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
| @@ -192,6 +193,7 @@ jobs: | ||||
|  | ||||
|   deploy-docker: | ||||
|     name: Build and publish docker containers | ||||
|     if: github.repository == "esphome/esphome" | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: [lint-clang-format, lint-clang-tidy, lint-python, test, pytest] | ||||
|     strategy: | ||||
| @@ -255,6 +257,7 @@ jobs: | ||||
|           docker push "${BUILD_TO}:latest" | ||||
|  | ||||
|   deploy-docker-manifest: | ||||
|     if: github.repository == "esphome/esphome" | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: [deploy-docker] | ||||
|     steps: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user