diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c65b2581d..80ecc5086 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,10 +49,10 @@ jobs: name: ${{ github.sha }} path: ~/build - name: Deploy to host - uses: garygrossgarten/github-action-scp@release + uses: appleboy/scp-action@v0.1.7 with: - local: /home/runner/build - remote: /var/www/test + source: /home/runner/build/* + target: /var/www/test host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} - privateKey: ${{ secrets.KEY }} + key: ${{ secrets.KEY }}