This commit is contained in:
Brandon Watson 2024-06-05 18:54:07 -05:00
parent c5f2d652d9
commit 1db71bfc3c

View File

@ -47,8 +47,8 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
COMMIT: ${{ needs.version.outputs.commit }}
run: |
npm version prerelease --preid="$COMMIT" --git-tag-version=false --allow-same-version=true
npm config set -- '//gitea.watsonlabs.net/api/packages/watsonb8/npm/:_authToken' "$NPM_TOKEN"
npm version prerelease --preid="$COMMIT" --git-tag-version=false --allow-same-version=true
npm publish
deploy:
@ -82,3 +82,4 @@ jobs:
npm install -g @watsonb8/homebridge-hue-chase
systemctl restart homebridge
ENDSSH