diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2016-07-02 21:16:51 -0700 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2016-07-02 21:16:51 -0700 |
| commit | 95640a9ae77378e184fff018058fb3af0c1206c2 (patch) | |
| tree | 6b38fe0ca1480f80d309c49ede481ab7d98e7fb2 | |
| parent | After publish delete the build dir if it exists (diff) | |
| download | lumberjaph-95640a9ae77378e184fff018058fb3af0c1206c2.tar.gz | |
Publish to the branch 'master'.
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
