Skip to content

Commit

Permalink
build: fix GitHub release
Browse files Browse the repository at this point in the history
  • Loading branch information
juliodialpad committed Nov 8, 2023
1 parent b6ab7c9 commit 72be7fe
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ jobs:
if: ${{ github.ref != 'refs/heads/production' }}
run: npx nx run-many --target=release --args="--tag ${{ steps.branch.outputs.BRANCH }}"

- name: Github Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx nx run-many --target=release-github

- name: Set registry to github packages
run: npm config set @dialpad:registry https://npm.pkg.github.com

Expand All @@ -79,3 +74,12 @@ jobs:
- name: Deploy production to github packages
if: ${{ github.ref == 'refs/heads/production' }}
run: npx nx run-many --target=release

- name: Deploy ${{ steps.branch.outputs.BRANCH }} to github packages
if: ${{ github.ref != 'refs/heads/production' }}
run: npx nx run-many --target=release --args="--tag ${{ steps.branch.outputs.BRANCH }}"

- name: Github Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx nx run-many --target=release-github

0 comments on commit 72be7fe

Please sign in to comment.