Skip to content

Commit

Permalink
Merge pull request #25 from NxtLvLSoftware/dev-to-dist
Browse files Browse the repository at this point in the history
Merge dev changes to dist
  • Loading branch information
JackNoordhuis authored Sep 13, 2023
2 parents 26d5427 + d446933 commit ce628ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Publish Package
on:
push:
branches: [dist]
tags:
- '*'
release:
types: [published]

permissions:
contents: read
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- name: Publish ${{ github.ref_name }} to npm registry
if: github.event_name == 'tag'
if: github.event_name == 'release'
run: |
npm config set allow-same-version true
npm config set git-tag-version false
Expand Down

0 comments on commit ce628ad

Please sign in to comment.