Skip to content

Commit

Permalink
Kylesomers/semantic release (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylesomers authored Jun 4, 2024
1 parent f51aa90 commit 1772c58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#====================================================================================================
name: Build Docs and Publish to gh-pages
env:
VERSION: v.0.1.0-alpha.1
VERSION: v0.1.0-alpha.2
ALIAS: latest
on:
push:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ docs-deploy: ## Deploy the docs using 'mike'. Example: `make docs-deploy VERSION
docker run -t docs:$(VERSION) mike deploy --push --update-aliases $(VERSION) ${ALIAS}


.PHONY: docs-local
.PHONY: docs-local-docker
docs-local-docker: ## Build and run the docs locally using docker and 'serve'. Example: `make docs-local-docker VERSION=1.0.0`
@if [ -z "${VERSION}" ]; then echo -e "${RED}VERSION is not set. Run 'make help' for usage. ${RESET}"; exit 1; fi
@echo -e "Docs version is: ${GREEN}$(VERSION)${RESET}"
docker build -f ./docs/Dockerfile -t docs:$(VERSION) . --build-arg GIT_USER_NAME="$(GIT_USER_NAME)" --build-arg GIT_USER_EMAIL="$(GIT_USER_EMAIL)" --build-arg GITHUB_ACTIONS=$(GITHUB_ACTIONS) --no-cache
docker run -t docs:$(VERSION) mike deploy --push --update-aliases $(VERSION) latest
docker build -f ./docs/Dockerfile -t docs:$(VERSION) . --build-arg GIT_USER_NAME="$(GIT_USER_NAME)" --build-arg GIT_USER_EMAIL="$(GIT_USER_EMAIL)" --build-arg GITHUB_ACTIONS=$(GITHUB_ACTIONS) --no-cache
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs docs:$(VERSION) mkdocs serve --dev-addr=0.0.0.0:8000

.PHONY: help
help: ## Display this help
Expand Down

0 comments on commit 1772c58

Please sign in to comment.