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:
@ -81,4 +81,5 @@ jobs:
sshpass -p '${{ secrets.HOMEBRIDGE_PASSWORD }}' ssh -v -o StrictHostKeyChecking=no ${{ secrets.HOMEBRIDGE_USER }}@${{ secrets.HOMEBRIDGE_HOST }} <<'ENDSSH'
npm install -g @watsonb8/homebridge-hue-chase
systemctl restart homebridge
ENDSSH
ENDSSH