Skip to content

Commit

Permalink
Update beta-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Nov 21, 2024
1 parent 715b7d3 commit 40bd337
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:

publish:
needs: lint

if: ${{ github.repository == 'homebridge/plugin-ui-utils' }}

uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
with:
tag: beta
Expand All @@ -31,8 +29,12 @@ jobs:
npm_auth_token: ${{ secrets.npm_token }}

github-releases-to-discord:
name: Discord Webhooks
needs: publish
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
with:
footer_title: plugin-ui-utils
title: Plugin UI Utils
description: |
Version `v${{ needs.publish.outputs.NPM_VERSION }}`
secrets:
DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}

0 comments on commit 40bd337

Please sign in to comment.