-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (29 loc) · 886 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
help:
@echo "Usage:"
@echo " make [subcommand]\n"
@echo "Subcommands:"
@echo " install Install the theme dependencies"
@echo " clean Clean the workspace"
@echo " status Display status before push"
@echo " build Build the test site"
@echo " server Make a livereload jekyll server to development"
@echo " s Make a jekyll server to development without livereload"
install:
@gem install jekyll bundler
@bundle install
clean:
@bundle exec jekyll clean
status: clean
@git status
build:
export JEKYLL_ENV=production
export NODE_ENV=production
@bundle exec jekyll build --safe --profile
gh-pages:
export JEKYLL_ENV=production
export NODE_ENV=production
@bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" --profile
server:
@bundle exec jekyll server --safe --livereload
s:
@bundle exec jekyll server --safe