I have see this post, Using GitHub Actions for automatic upload to InfinityFree and I tried it, and it worked but all the files went to home instead of /htdocs, please advice.
Anyway, thank you for this great free php hosting service.
I have see this post, Using GitHub Actions for automatic upload to InfinityFree and I tried it, and it worked but all the files went to home instead of /htdocs, please advice.
Anyway, thank you for this great free php hosting service.
You need to configure your GitHub action to upload to htdocs instead.
There’s not really anything you can do here.
Any FTP upload action should have a parameter to specify the target directory where to upload the files. You’ll need to configure that in your GitHub Action to have your files uploaded to the right place.
As for how to do that, neither you nor that other topic goes beyond “it’s possible”, without specifying which action you’re using or how it’s configured.
I have done done, I might have to delete and re input like what I did with the paswword
Looking at those potential options, I would guess that server-dir
is the option to use. But please do check the documentation of the action you’re using.
And to be clear: I don´t know which action template you’re using.
server-dir not allowed, SERVER_DIR ok but not working, I guess this is the docs, FTP Deploy · Actions · GitHub Marketplace · GitHub