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:
|
||||
|
||||
Reference in New Issue
Block a user