Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: None of the available transfer modes work. #501

Open
khokonm opened this issue Mar 17, 2025 · 0 comments
Open

Error: None of the available transfer modes work. #501

khokonm opened this issue Mar 17, 2025 · 0 comments

Comments

@khokonm
Copy link

khokonm commented Mar 17, 2025

Bug Description
I recently changed my server for all my websites, but kept the FTP account credentials and other server configuration the same. But now whenever I push my changes to the deploy branch, I got the following error.

The same config worked just fine before changing my server.

My Action Config

on:
  push:
    branches:
      - deploy

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
       - name: Deploy to CPanel
        uses: SamKirkland/[email protected]
        with:
          server: ${{ secrets.HOST }}
          username: ${{ secrets.USER }}
          password: ${{ secrets.PASSWORD }}
          local-dir: ./out/ # The directory generated by `npm run export`
          server-dir: ./ 

My Action Log

   Error: None of the available transfer modes work.
    at Client.prepareTransfer (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.2.0/dist/index.js:4293:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Client._uploadFromStream (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.2.0/dist/index.js:3981:13)
    at async Client._uploadLocalFile (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.2.0/dist/index.js:3967:20)
Error: Error: None of the available transfer modes work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant