diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9e6dc4f..be53143 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,13 +30,13 @@ jobs: cp -r dist/* deployment_package - name: Install sshpass - run: sudo apt-get install sshpass + run: sudo apt-get install -y sshpass - name: Deploy to Home Server env: SSHPASS: ${{ secrets.SSH_PASSWORD }} run: | - sshpass -e ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }} << EOF + sshpass -e ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }} 'bash -s' <