Skip to content

Commit ea4e361

Browse files
committed
(docs) Add temp _deploy_docs target
1 parent 9ce9c0d commit ea4e361

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,13 @@ release: check_java ## publishes the next release with a specified VERSION
140140
# create and push git tag
141141
git tag v$(VERSION)
142142

143+
.PHONY: _deploy_docs
144+
_deploy_docs: # temporary target to deploy docs with mike, TODO: move to github actions
145+
@./gradlew dokkaGfmMultiModule; \
146+
mv build/dokka/gfmMultiModule docs/api; \
147+
MKDOCS_SITE_URL="https://serpro69.github.io/kotlin-faker/" mike deploy 1.6 latest -t '1.6.0 (latest)' -u; \
148+
MKDOCS_SITE_URL="https://serpro69.github.io/kotlin-faker/" mike deploy 2.0 dev -t '2.1.0-SNAPSHOT' -u
149+
143150
.PHONY: help
144151
help: ## Displays this help
145152
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

0 commit comments

Comments
 (0)