Git Push: Deploying WordPress from GitHub to Your Web Host
I think the process is described incorrectly in step one. Either that, or I’m misunderstanding the following steps. In this line:
“To get started, you’ll need to set up an empty repository. After that, what you’re going to do is create a fresh WordPress install on GitHub, clone it locally, and then push that instance to GitHub.”
I believe the actual steps are to create a fresh WordPress install on your hosting server. That seems to be what is described later in step 2:
“Then a window will appear with a ‘git clone’ command, which will enable you to copy your brand-new WordPress website to your local computer.”
forked from oodavid/README.md
Last active Jul 9, 2019
$ git config -l
$ git pull -v
fatal: unable to set up default path; use –file
fatal: could not read Username for ‘http://mygogsaddress:3000’: No such device or address
$ git status
On branch master
Your branch is up-to-date with ‘origin/master’.
Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git checkout — …” to discard changes in working directory)
Tom J Nowell
The advantage of a cron job is that it can be made more secure, and has unlimited time to execute. It can also be repurposed to run the WP Cron command via wp cron, speeding up page load times slightly, and making scheduled publishing more reliable. The disadvantage is that not all users are going to be able to set up cron jobs, but this is not an issue if you’re running a VPS, or have SSH access.
How to deploy WordPress from GitHub to GoDaddy web hosting
You can do all of the above with DevOps tools like Jenkins, but to an average developer spending several hours on configuration seems like an overkill. Not many developers know, however, that you can easily streamline all of this stuff down to a single push to your Git repository with a simple tool called Buddy.