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

drone-scp error: error copy file to dest: ***, error message: Process exited with status 5 #146

Open
birch-ui opened this issue Oct 17, 2023 · 0 comments

Comments

@birch-ui
Copy link

Hi,
I have configured it as shown in the code below.

- name: Upload Changed files
        uses: appleboy/[email protected]
        with:
          host: ${{ secrets.SFTP_HOST }}
          username: ${{ secrets.SFTP_USERNAME }}
          key: ${{ secrets.SFTP_KEY }}
          passphrase: ${{ secrets.SFTP_PASSPHRASE }}
          password: ${{ secrets.SFTP_PASSWORD }}
          source: ${{ steps.changed-files.outputs.all_changed_files }}
          target: “/home/www/test/"
          overwrite: true

However, an error like the one below was displayed.

tar all files into /tmp/aALrqfzooP.tar.gz
scp file to server.
2023/10/17 01:12:58 error copy file to dest: ***, error message: Process exited with status 5
drone-scp error:  error copy file to dest: ***, error message: Process exited with status 5

We have not encountered a case of a status 5 error, and thus, we have been unable to resolve it.
I would appreciate your assistance.

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