🛠 Use built-in jekyll serve, rather than php server
This commit is contained in:
parent
a433ae858f
commit
e59e1a69b6
2 changed files with 4 additions and 18 deletions
19
Makefile
19
Makefile
|
|
@ -1,20 +1,9 @@
|
|||
export PATH := $(HOME)/bin:$(PATH):/usr/local/bin
|
||||
|
||||
POINT=$(shell echo $$((RANDOM%79+128512)) )
|
||||
EMOJI=$(shell printf '%x' $(POINT) )
|
||||
all: serve
|
||||
|
||||
all: deploy
|
||||
|
||||
build:
|
||||
true
|
||||
|
||||
stage: build
|
||||
stage:
|
||||
bundle exec jekyll build -c '_config.yml,_config.local.yml'
|
||||
|
||||
serve: stage
|
||||
cd _site; php -S localhost:9090
|
||||
|
||||
deploy: build
|
||||
git add -A _posts _data archives
|
||||
git commit -m "[Add] `printf "\U$(EMOJI)"` `date`: `fortune -s -n 61 | tr '\n' ' ' | sed -r 's/[[:blank:]]+/ /g'`"
|
||||
git push origin master
|
||||
serve:
|
||||
bundle exec jekyll serve -c '_config.yml,_config.local.yml'
|
||||
|
|
|
|||
|
|
@ -61,9 +61,6 @@ baseurl: "/danielrayjones"
|
|||
|
||||
permalink: /:year/:month/:title/
|
||||
|
||||
# The release of Jekyll Now that you're using
|
||||
version: v1.2.0
|
||||
|
||||
# Jekyll 3 now only supports Kramdown for Markdown
|
||||
kramdown:
|
||||
# Use GitHub flavored markdown, including triple backtick fenced code blocks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue