WIP
This commit is contained in:
parent
c5f2d652d9
commit
1db71bfc3c
@ -47,8 +47,8 @@ jobs:
|
|||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
COMMIT: ${{ needs.version.outputs.commit }}
|
COMMIT: ${{ needs.version.outputs.commit }}
|
||||||
run: |
|
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 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
|
npm publish
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
@ -81,4 +81,5 @@ jobs:
|
|||||||
sshpass -p '${{ secrets.HOMEBRIDGE_PASSWORD }}' ssh -v -o StrictHostKeyChecking=no ${{ secrets.HOMEBRIDGE_USER }}@${{ secrets.HOMEBRIDGE_HOST }} <<'ENDSSH'
|
sshpass -p '${{ secrets.HOMEBRIDGE_PASSWORD }}' ssh -v -o StrictHostKeyChecking=no ${{ secrets.HOMEBRIDGE_USER }}@${{ secrets.HOMEBRIDGE_HOST }} <<'ENDSSH'
|
||||||
npm install -g @watsonb8/homebridge-hue-chase
|
npm install -g @watsonb8/homebridge-hue-chase
|
||||||
systemctl restart homebridge
|
systemctl restart homebridge
|
||||||
ENDSSH
|
ENDSSH
|
||||||
|
|
Loading…
Reference in New Issue
Block a user