From 63422a48e65e93099f3b0d2df1fe3c3d5c87dcd7 Mon Sep 17 00:00:00 2001 From: watsonb8 Date: Wed, 5 Jun 2024 19:02:57 -0500 Subject: [PATCH] WIP --- .gitea/workflows/ci.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 7eecf88..4e7ab06 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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: |