Skip to content

Commit

Permalink
Merge pull request #199 from MislavMandaric/chore/prerelase-support
Browse files Browse the repository at this point in the history
Prerelease support
  • Loading branch information
MislavMandaric authored Nov 5, 2022
2 parents bec83d7 + 9ab49b7 commit 821d755
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/release.yml → .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: deploy

on:
push:
Expand All @@ -18,9 +18,27 @@ jobs:
- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"

release:
prerelease:
needs: [validate]

runs-on: ubuntu-latest
concurrency: prerelease
environment:
name: prerelease

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Python Semantic Release
uses: relekang/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
additional_options: --prerelease

release:
needs: [prerelease]

runs-on: ubuntu-latest
concurrency: release
environment:
Expand Down

0 comments on commit 821d755

Please sign in to comment.