Closed felixhaeberle closed 4 years ago
Fixed it! After running git reset --hard
and having all my included files in .git-ftp-include
and having all my excluded files in .git-ftp-exclude
it works!
Is there a way to have concurrent users connect to the ftp host? My deployment is very slow because of only one file gets transfered simultaneously. This could be improved, other ftp shells can do concurrent virtual connections/users to send files to the host.
I have the same problem, may I have a hand?
Same issue here
Updated the version in uses: SamKirkland/FTP-Deploy-Action@3.1.1 to uses: SamKirkland/FTP-Deploy-Action@4.0.0
and now works like a charm
You can change uses to
uses: SamKirkland/FTP-Deploy-Action@4.3.3
also you have to remove ftp-
prefix from server, username and password. it should be working just fine
@mhdizmni SamKirkland/FTP-Deploy-Action@4.3.3
does not support SFTP which is required by some hosts like WPEngine.
It worked to me as well Thanks also remove -ftp prefix from server, username and password. it worked to me
same issue. Tried several times, and still this error I get.
Uploading files
/usr/bin/git ftp push --force --auto-init --verbose --syncroot=./ --user=*** --passwd=*** ***
Thu Mar 9 [11](https://github.com/Cristishor201/cristishor.net/actions/runs/4337689674/jobs/7652434880#step:4:12):10:41 UTC 2023: git-ftp version 1.6.0 running on Linux c8d71f0b07ff 5.[15](https://github.com/Cristishor201/cristishor.net/actions/runs/4337689674/jobs/7652434880#step:4:16).0-1034-azure #41-Ubuntu SMP Fri Feb 10 19:59:45 UTC 2023 x86_64 GNU/Linux
Thu Mar 9 11:10:41 UTC 2023: Forced mode enabled.
Thu Mar 9 11:10:41 UTC 2023: Auto init if needed.
Thu Mar 9 11:10:41 UTC 2023: Using syncroot ./ if exists.
Thu Mar 9 11:10:41 UTC 2023: Syncroot is './'.
Thu Mar 9 11:10:41 UTC 2023: fatal: Not a Git project? Exiting...
Error: The process '/usr/bin/git' failed with exit code 8
I miss something, because I tried both v3.1.1 and v4.0.0 and v4.3.3 and still got exit code 8.
Question: re-runing the failed job, use modified yml or the same one ?
In here it says:
Re-running a workflow or jobs in a workflow uses the same GITHUB_SHA (commit SHA) and GITHUB_REF (Git ref) of the original event that triggered the workflow run.
So it basically says: you need to push everytime you make a change, in order to testing your workflow.
I updated my file to use v4.3.3 and it still says it's trying to use v3.1.1 and I get the same error.
You can change uses to uses: SamKirkland/FTP-Deploy-Action@4.3.3 also you have to remove ftp- prefix from server, username and password. it should be working just fine
Thanks alot it also worked for me!!!
SamKirkland/FTP-Deploy-Action@4.0.0
where do we need to chage the ftp prefix ?
Bug Description Deploy does not work because of 'dirty reository', but repository and working tree is clean for sure. Thanks very much in advance for your help.
My Action Config
My Action Log