diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2016-07-31 10:16:40 -0700 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2016-07-31 13:42:48 -0700 |
| commit | 63f413891d5adc596e4d51dfba4d0d23fdea3ca4 (patch) | |
| tree | c2726b60515057a20f434bd89c596360ef17852b /Makefile | |
| parent | Add Google Analytic tracker. (diff) | |
| download | lumberjaph-63f413891d5adc596e4d51dfba4d0d23fdea3ca4.tar.gz | |
Stop generating a static site.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index e7428d1..0000000 --- a/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -.PHONY: clean -clean: - hugo --cleanDestinationDir - -.PHONY: server -server: clean - hugo serve --buildDrafts --buildFuture - -.PHONY: deps -deps: - brew install hugo - -.PHONY: build -build: clean - hugo - -DEPLOY_BRANCH := master -DEPLOY_DIR := public - -.PHONY: publish -publish: build - git symbolic-ref HEAD refs/heads/$(DEPLOY_BRANCH) - git --work-tree $(DEPLOY_DIR) reset --mixed --quiet - git --work-tree $(DEPLOY_DIR) add --all - if git --work-tree $(DEPLOY_DIR) diff-index --quiet HEAD -- ; then \ - echo "no changes" ; \ - else \ - git --work-tree $(DEPLOY_DIR) commit -m "deploy " ; \ - git push origin $(DEPLOY_BRANCH) ; \ - fi - - git symbolic-ref HEAD refs/heads/posts - git reset --mixed - [ -d $(DEPLOY_DIR) ] && rm -rf $(DEPLOY_DIR) |
