Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
rnicholus committed Feb 22, 2017
2 parents 7f7f81b + d7bb0d9 commit e9d2f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -410,16 +410,16 @@ docs: install-docfu
docfu --$(type) "$(type-value)" "FineUploader/fine-uploader" "docfu-temp"
git clone --depth 1 https://github.com/FineUploader/docs.fineuploader.com.git
cp -pR docfu-temp/$(type) docs.fineuploader.com/
make maybe-update-root-docs
(cd docs.fineuploader.com ; git add .)
(cd docs.fineuploader.com ; git diff --cached --quiet || git commit -a -m "update docs for $(type) $(type-value)")
@(cd docs.fineuploader.com ; git push https://$(DOCS_PUSH_ACCESS_TOKEN)@$(DOCS_GH_REF))
make maybe-update-root-docs
.PHONY: docs

maybe-update-root-docs:
ifndef TRAVIS_TAG
ifeq ($(TRAVIS_BRANCH), master)
cp -pR docs.fineuploader.com/branch/master/ docs.fineuploader.com/
cp -pR docs.fineuploader.com/branch/master/. docs.fineuploader.com/
endif
endif
.PHONY: maybe-update-root-docs
Expand Down

0 comments on commit e9d2f30

Please sign in to comment.