diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a3afaa9c..c65b2581d 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: pierrickdelrieu/scp-action@v0.1.0 + uses: garygrossgarten/github-action-scp@release with: - source_dir: /home/runner/build - destination_dir: /var/www/test + local: /home/runner/build + remote: /var/www/test host: ${{ secrets.HOST }} - ssh_username: ${{ secrets.USERNAME }} - ssh_key: ${{ secrets.KEY }} + username: ${{ secrets.USERNAME }} + privateKey: ${{ secrets.KEY }}