diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5ebda71..48dcecf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,12 +25,11 @@ jobs: npm run build - name: Copy build directory to server - uses: appleboy/scp-action@master + uses: milanmk/actions-file-deployer@master with: - host: ${{ secrets.SERVER_HOST }} - username: ${{ secrets.SERVER_USERNAME }} - password: ${{ secrets.SERVER_PASSWORD }} - port: ${{ secrets.SERVER_PORT }} - source: "build/*" - target: ${{ secrets.SERVER_DIRECTORY }} - protocol: sftp \ No newline at end of file + remote-protocol: sftp + remote-host: ${{ secrets.SERVER_HOST }} + remote-user: ${{ secrets.SERVER_USER }} + remote-password: ${{ secrets.SERVER_PASSWORD }} + remote-path: ${{ secrets.SERVER_DIRECTORY }} + report-port: ${{ secrets.SERVER_PORT }} \ No newline at end of file