Skip to content

Commit

Permalink
Update Build_and_Publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Aug 12, 2024
1 parent 2cf70ed commit 6a2d78e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/Build_and_Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ on:
branches: [beta-*.*.*, beta]
workflow_dispatch:

permissions:
id-token: write

jobs:
get_tags:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -83,6 +80,8 @@ jobs:
branch: ${{ github.ref }}

publish_prod_release:
permissions:
id-token: write
needs: [get_tags, create_documentation]
name: Publish Release Version
if: ${{ needs.get_tags.outputs.BRANCH_NAME == 'main' }}
Expand All @@ -93,6 +92,8 @@ jobs:
npm_auth_token: ${{ secrets.npm_token }}

publish_test_release:
permissions:
id-token: write
needs: [get_tags, create_documentation]
name: Publish Test Version - ${{ needs.get_tags.outputs.BRANCH_NAME }}
if: ${{ needs.get_tags.outputs.BRANCH_NAME != 'main' }}
Expand Down

0 comments on commit 6a2d78e

Please sign in to comment.