Skip to content

Commit

Permalink
Use deployment environment in GitHub build actions (#93800)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed May 30, 2023
1 parent 89cc57c commit 46d8885
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:

build_python:
name: Build PyPi package
environment: ${{ needs.init.outputs.channel }}
needs: ["init", "build_base"]
runs-on: ubuntu-latest
if: github.repository_owner == 'home-assistant' && needs.init.outputs.publish == 'true'
Expand Down Expand Up @@ -299,6 +300,7 @@ jobs:

publish_ha:
name: Publish version files
environment: ${{ needs.init.outputs.channel }}
if: github.repository_owner == 'home-assistant'
needs: ["init", "build_machine"]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -332,6 +334,7 @@ jobs:

publish_container:
name: Publish meta container for ${{ matrix.registry }}
environment: ${{ needs.init.outputs.channel }}
if: github.repository_owner == 'home-assistant'
needs: ["init", "build_base"]
runs-on: ubuntu-latest
Expand Down

0 comments on commit 46d8885

Please sign in to comment.