Answer the question
In order to leave comments, you need to log in
Develop on localhost, deploy to VDS with git?
I have a project, moved it to github.
git init
git add .
git commit -m "init"
git remote add origin https://github.com/user/project.git
git push -u origin master
How now to transfer project files from github to vds? Do you need github actions for this?
Answer the question
In order to leave comments, you need to log in
make your own repository on VDS, call it not origin, but VDS, and push there
either through an SFTP client, fill it with your hands, for example, WinSCP
If you want automatic deployment subject to updating certain branches, etc. - then yes, the easiest way is GitHub Actions. There are many examples for different languages and platforms.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question