Open Saloh opened 3 years ago
Any updates? Did you get it to work later on?
No, sadly it didn't work. @TimAnthonyAlexander
No, sadly it didn't work. @TimAnthonyAlexander
I found a solution for myself, which was using a pre-push hook. There are great scripts that you can use as pre-push hooks that just upload the files via git-ftp, for example.
My script looks like this:
#!/bin/sh
git ftp push
exit 0
And I installed git-ftp and configured it to upload to my ftp server.
Any update on this? I am also experiencing this, using vsftpd as well. This github action looks nice besides thatβ¦
Same here. Was able to see a folder creation failed on ftp action but the action was marked as successful in github workflow so reports came through as completed successful but ftp was missing some folders which were listed in details of the successful completed ftp task. Some other tasks show warnings and errors if something has failed. It would be good if this task also produced some annotations for warnings like "seems like first upload so sync file created for you at /path/to/sync_file.ext"
What do I do? On push or pull request onto the master branch a job is building the current repository. If the build job succeeds a second job is triggered which uses FTP-Deploy-Action to upload the built
./dist/
folder to my webserver into the./html/
directory.Bug Description The upload reliably fails as seen in the action log. It throws three FTPErrors and aborts connection (see example vsftp log below) to the ftp server. Although the upload is incomplete and resulting in a broken deployed build the action doesn't fail (probably related to #150). This means you wont notice the error until you try to open the broken website and dive into those logs posted below.
My Action Config
My Action Log
vsftp log