summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-02 21:16:51 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-02 21:16:51 -0700
commit95640a9ae77378e184fff018058fb3af0c1206c2 (patch)
tree6b38fe0ca1480f80d309c49ede481ab7d98e7fb2
parentAfter publish delete the build dir if it exists (diff)
downloadlumberjaph-95640a9ae77378e184fff018058fb3af0c1206c2.tar.gz
Publish to the branch 'master'.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 44f0876..e7428d1 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ deps:
build: clean
hugo
-DEPLOY_BRANCH := gh-pages
+DEPLOY_BRANCH := master
DEPLOY_DIR := public
.PHONY: publish
@@ -29,6 +29,6 @@ publish: build
git push origin $(DEPLOY_BRANCH) ; \
fi
- git symbolic-ref HEAD refs/heads/master
+ git symbolic-ref HEAD refs/heads/posts
git reset --mixed
[ -d $(DEPLOY_DIR) ] && rm -rf $(DEPLOY_DIR)