WIP
Some checks failed
Build homebridge-hue-chase / Version (push) Successful in 8s
Build homebridge-hue-chase / Build (push) Successful in 13s
Build homebridge-hue-chase / Publish Latest (push) Successful in 11s
Build homebridge-hue-chase / Deploy (push) Failing after 10m52s

This commit is contained in:
Brandon Watson 2024-06-05 19:02:57 -05:00
parent d2af2006fd
commit 63422a48e6

View File

@ -62,23 +62,17 @@ jobs:
steps:
- name: Set up SSH key
run: |
env
mkdir -p ~/.ssh
echo 1
echo "${{ secrets.HOMEBRIDGE_SSH_KEY }}" > ~/.ssh/id_rsa
echo 2
chmod 600 ~/.ssh/id_rsa
echo 3
ssh-keyscan -p 22 homebridge.me >> ~/.ssh/known_hosts
echo 4
sudo apt update
echo 5
sudo apt-get install sshpass
- name: Remove old Package
run: |
sshpass -p '${{ secrets.HOMEBRIDGE_PASSWORD }}' ssh -v -o StrictHostKeyChecking=no ${{ secrets.HOMEBRIDGE_USER }}@${{ secrets.HOMEBRIDGE_HOST }} <<'ENDSSH'
rm -r /home/$SSH_USER/.npm-global/lib/node_modules/@watsonb8/homebridge-hue-chase
rm -r /home/${{ secrets.HOMEBRIDGE_USER }/.npm-global/lib/node_modules/@watsonb8/homebridge-hue-chase
ENDSSH
- name: Deploy
run: |