IP_ADDRESS
to the IP address of your server and change example.com
to the domain of your app. This will create a folder called example.com
where your Jekyll site will live on the server. Using the domain will make it easy to find /etc/nginx/sites-enabled/jekyll
to setup NGINX. Make sure to change your server_name
and root
folder to match the domain and folder you want to deploy to.sudo service nginx reload
to restart NGINX../deploy.sh
which will trigger a jekyll build
and rsync all the files up to the server.