mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Don't run deploy job when repository is not esphome/esphome (#1157)
This commit is contained in:
parent
e962762046
commit
dfbf225403
2 changed files with 5 additions and 0 deletions
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:
|
||||
|
|
Loading…
Reference in a new issue