Github connection

Is there anyway to connect github to the ftp?
I have a feature in my code editor so I can connect to Github repository
for example:

  1. I uploaded my website files to my private repository in github
  2. These files magicly gets copied into my website files

that would be more faster to work with website

I’ve been toying with something like that on GitLab myself, to automatically push a Laravel site after building it in GitLab CI.

What I do there is prepare the application (install Composer dependencies, compile assets) in the CI pipeline, and then push the files over FTP. The command line program lftp works quite well for this. However, the original sync takes multiple hours because Laravel is big, FTP is slow and lftp is single threaded.

This is the bash script / command I use for this: InfinityFree FTP push example ($1947298) · Snippets · Snippets · GitLab

I’m more of a GitLab fan than GitHub, but I can imagine that you could use GitHub Actions to build something similar.


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.