jekyll-blog-routine-deploy-script

jekyll-blog-routine-deploy-script

Automatically deploy and release a Jekyll blog on Linux

A script to automatically deploy a Jekyll blog on Linux

octojekyll

After each commit to repository (including private GitHub Pages repository), go to the server to execute this script, which can automatically deploy and release a Jekyll blog.

deploying

Documentation

The script automatically checks and installs depending on what are there dependencies of the Jekyll prerequisite on current environment, includes RVM, Ruby, Nginx. Otherwise, it only updates, builds, deploys for routine.

  • Quick steps:
    • Copy the A Sample of Jekyll Blog repository to a server, or choose your preferred Jekyll.
    • Enter the repository directory on the server, build this script to automatically initial or for routine update.
curl -sSLO https://raw.githubusercontent.com/genhaiyu/jekyll-blog-routine-deploy-script/master/deploy.sh && chmod a+x deploy.sh && bash deploy.sh

If running a site on CentOS 7/8, should disable SELINUX setting in /etc/selinux/config file. If not, the page will give 403 Forbidden error though you have done another way.

sudo vim /etc/selinux/config

Update SELINUX=enforcing to SELINUX=disabled in /etc/selinux/config file, then reboot the system.

License