Answer the question
In order to leave comments, you need to log in
How to download scripts from github?
Interested in this practice and expediency, as well as the possibility.
At the moment I am writing an open source cms, so I will have to finish and edit a lot, and some clients already use this cms.
Instead of informing them about the release of a new version, I would like to update automatically.
Installing deployment tools on their servers and generating rsa keys is a long and tedious task.
I have an idea: what if we completely transfer cms to some storage, for example, github, and load all the scripts (php) from there?
For example, I create a separate production branch, into which I push the already tested version of the engine. On hosting, the client only has a layout (template) and a config file with a password, login, and other personal data, and the entire core is loaded from github.
How do you think, how right is this, what threatens and how to implement it?
Answer the question
In order to leave comments, you need to log in
Maybe it's too late, but ...
Don't reinvent the wheel, you can culturally load the master branch from github in the form of a zip archive, and on the server you can simply unpack it with the replacement of files, and at the same time make a backup copy if you wish.
As for downloading everything from github - github won't like it and I honestly can't imagine it in those. plan.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question