Skip to content

Commit

Permalink
Fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
masipcat committed Mar 18, 2024
1 parent b9309d5 commit 77f8901
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
TOP := $(dir $(lastword $(MAKEFILE_LIST)))

.PHONY: all build sync serve
.PHONY: all serve

all: serve

build:
@$(HOME)/.rbenv/shims/jekyll build

serve:
docker run --name=gb-jekyll --rm --label=jekyll --volume=$(CURDIR):/srv/jekyll -it -p 127.0.0.1:4000:4000 jekyll/jekyll jekyll s
docker run --name=gb-hugo --rm --volume=$(CURDIR):/src -it -p 127.0.0.1:1313:1313 hugomods/hugo:base-0.124.0 hugo server --bind 0.0.0.0

0 comments on commit 77f8901

Please sign in to comment.