Skip to content

Commit

Permalink
Tuned fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Aug 12, 2024
1 parent 774e202 commit 28381fe
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 @@ -4,9 +4,6 @@ on:
push:
branches: [beta-*.*.*, beta]
workflow_dispatch:

permissions:
id-token: write

jobs:
get_tags:
Expand Down Expand Up @@ -35,6 +32,8 @@ jobs:
TARGET_IMAGE_TAG: ${{ steps.get_tag.outputs.TARGET_IMAGE_TAG }}

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

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

0 comments on commit 28381fe

Please sign in to comment.