Remove new line. Don't use baseurl.
This commit is contained in:
parent
5eba2a45b7
commit
fba2ab9651
4
Makefile
4
Makefile
@ -2,7 +2,6 @@ DEV_DIST_DIR:=dist
|
|||||||
PROD_DIST_DIR:=proddist
|
PROD_DIST_DIR:=proddist
|
||||||
PROD_REMOTE:=git@gitlab.com:autonomic-cooperative/autonomic-cooperative.gitlab.io.git
|
PROD_REMOTE:=git@gitlab.com:autonomic-cooperative/autonomic-cooperative.gitlab.io.git
|
||||||
PROD_BRANCH:=production
|
PROD_BRANCH:=production
|
||||||
PROD_BASE_URL:=https://autonomic.zone
|
|
||||||
|
|
||||||
devserver:
|
devserver:
|
||||||
@echo "Serving development site from $(DEV_DIST_DIR)"
|
@echo "Serving development site from $(DEV_DIST_DIR)"
|
||||||
@ -11,8 +10,7 @@ devserver:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
@echo "Building production site into $(PROD_DIST_DIR)"
|
@echo "Building production site into $(PROD_DIST_DIR)"
|
||||||
@jekyll build --destination $(PROD_DIST_DIR) --baseurl $(PROD_BASE_URL)
|
@jekyll build --destination $(PROD_DIST_DIR)
|
||||||
|
|
||||||
@echo "Pushing $(PROD_DIST_DIR) contents to the upstream production branch"
|
@echo "Pushing $(PROD_DIST_DIR) contents to the upstream production branch"
|
||||||
@git subtree push --prefix $(PROD_DIST_DIR) $(PROD_REMOTE) $(PROD_BRANCH)
|
@git subtree push --prefix $(PROD_DIST_DIR) $(PROD_REMOTE) $(PROD_BRANCH)
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
|
Reference in New Issue
Block a user